feat: add invalid argument error

This commit is contained in:
Christy Jacob
2022-02-08 02:08:05 +04:00
parent e0e5f24ddb
commit 4649653d9f
+5
View File
@@ -43,6 +43,11 @@ return [
'description' => 'SMTP is disabled on your Appwrite instance. Please contact your project.',
'code' => 503,
],
Exception::GENERAL_ARGUMENT_INVALID => [
'name' => Exception::GENERAL_ARGUMENT_INVALID,
'description' => 'Invalid argument',
'code' => 400,
],
Exception::GENERAL_SERVER_ERROR => [
'name' => Exception::GENERAL_SERVER_ERROR,
'description' => 'Internal server error.',