mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
feat: add more desctiptions
This commit is contained in:
parent
aedded86de
commit
506c19eb01
1 changed files with 3 additions and 3 deletions
|
|
@ -104,12 +104,12 @@ return [
|
||||||
],
|
],
|
||||||
Exception::TYPE_USER_BLOCKED => [
|
Exception::TYPE_USER_BLOCKED => [
|
||||||
'name' => Exception::TYPE_USER_BLOCKED,
|
'name' => Exception::TYPE_USER_BLOCKED,
|
||||||
'description' => 'Session expired',
|
'description' => 'The current user has been blocked. Please contact the administrator for more information.',
|
||||||
'statusCode' => 403,
|
'statusCode' => 401,
|
||||||
],
|
],
|
||||||
Exception::TYPE_USER_CREATION_FAILED => [
|
Exception::TYPE_USER_CREATION_FAILED => [
|
||||||
'name' => Exception::TYPE_USER_CREATION_FAILED,
|
'name' => Exception::TYPE_USER_CREATION_FAILED,
|
||||||
'description' => 'Session expired',
|
'description' => 'Failed to create user.',
|
||||||
'statusCode' => 403,
|
'statusCode' => 403,
|
||||||
],
|
],
|
||||||
Exception::TYPE_USER_NOT_FOUND => [
|
Exception::TYPE_USER_NOT_FOUND => [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue