fix: add description
This commit is contained in:
parent
c4b5f59b1b
commit
df55cf4e39
1 changed files with 1 additions and 6 deletions
|
@ -7,14 +7,9 @@
|
||||||
use Appwrite\Extend\Exception;
|
use Appwrite\Extend\Exception;
|
||||||
|
|
||||||
return [
|
return [
|
||||||
Exception::TYPE_NONE => [
|
|
||||||
'name' => Exception::TYPE_NONE,
|
|
||||||
'description' => 'Generic error',
|
|
||||||
'statusCode' => 500,
|
|
||||||
],
|
|
||||||
Exception::TYPE_PROJECT_NOT_FOUND => [
|
Exception::TYPE_PROJECT_NOT_FOUND => [
|
||||||
'name' => 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,
|
'statusCode' => 404,
|
||||||
],
|
],
|
||||||
Exception::TYPE_PROJECT_UNKNOWN => [
|
Exception::TYPE_PROJECT_UNKNOWN => [
|
||||||
|
|
Loading…
Reference in a new issue