Files
METH_Transcendence/listError.txt

36 lines
1.2 KiB
Plaintext

8000 ~ 8999 : Ok code
9000 ~ 9999 : Error code
- 9000 : Invalid token
- 9001 : Token not found
- 9002 : Invalid json
- 9003 : Invalid path
- 9004 : Invalid type
- 9005 : Invalid request
- 9006 : Invalid login type
- 9007 : Invalid username or password
- 9008 : User not found
- 9009 : Invalid message sent
- 9010 : Invalid token 42
- 9011 : Not user registered with this 42 account
- 9012 : Already logged in
- 9013 : User already connected
- 9014 : Invalid mail
- 9015 : Username must not contain spaces
- 9016 : Username must be at least 3 characters long
- 9017 : Username must be at most 20 characters long
- 9018 : Username must contain only letters and numbers
- 9019 : Password must be at least 8 characters long
- 9020 : Password must contain at least one lowercase letter, one uppercase letter and one special character
- 9021 : Password must not contain the username
- 9022 : Mail already used
- 9023 : Username already used
- 9024 : An error occured while creating the account
- 9025 : Account not verified, please verify your account before logging in
- 9026 : An error occured while sending the email, glhf
- 9027 : An unknown error occured
- 9100 : Action out of range
- 9101 : No game started
- 9102 : Game already started