1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00

fix: add description

This commit is contained in:
Christy Jacob 2022-01-30 03:05:23 +04:00
parent c4b5f59b1b
commit df55cf4e39

View file

@ -7,14 +7,9 @@
use Appwrite\Extend\Exception;
return [
Exception::TYPE_NONE => [
'name' => Exception::TYPE_NONE,
'description' => 'Generic error',
'statusCode' => 500,
],
Exception::TYPE_PROJECT_NOT_FOUND => [
'name' => Exception::TYPE_PROJECT_NOT_FOUND,
'description' => 'Project not found',
'description' => 'The requested project could not be found. Please check the value of the `X-Appwrite-Project` header to ensure the correct project ID is being used.',
'statusCode' => 404,
],
Exception::TYPE_PROJECT_UNKNOWN => [