mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
feat: update error codes in the accounts API
This commit is contained in:
1 parent
7f29a9e8c9
commit
d3efbc1ef5
3 files changed
+11
-5
No files matched your search
@@ -29,6 +29,7 @@ class Exception extends \Exception
|
||||
const USER_ALREADY_EXISTS = 'user_already_exists';
|
||||
const USER_BLOCKED = 'user_blocked';
|
||||
const USER_CREATION_FAILED = 'user_creation_failed';
|
||||
const USER_INVALID_TOKEN = 'user_invalid_token';
|
||||
const USER_NOT_FOUND = 'user_not_found';
|
||||
const USER_INVALID_CREDENTIALS = 'user_invalid_credentials';
|
||||
const USER_EMAIL_ALREADY_EXISTS = 'user_email_already_exists';
|
||||
|
||||
Reference in new issue
Block a user