mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-28 19:50:34 +00:00
update
This commit is contained in:
parent
c8a0a21ef2
commit
3f21c2b2c2
83 changed files with 6355 additions and 0 deletions
13
server/app/component/code.py
Normal file
13
server/app/component/code.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
success = 0 # success response code
|
||||
error = 1 # common error response code
|
||||
not_found = 4 # can't find route or data
|
||||
|
||||
password = 10 # account or password error
|
||||
token_need = 11
|
||||
token_expired = 12
|
||||
token_invalid = 13
|
||||
token_blocked = 14
|
||||
|
||||
form_error = 100 # form pydantic validate error
|
||||
|
||||
no_permission_error = 300 # admin no permission error
|
||||
Loading…
Add table
Add a link
Reference in a new issue