Application Android et IOS pour l'amicale des élèves https://play.google.com/store/apps/details?id=fr.amicaleinsat.application
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Requests.tsx 398B

12345678910111213141516171819202122
  1. export enum REQUEST_STATUS {
  2. SUCCESS = 200,
  3. BAD_INPUT = 400,
  4. FORBIDDEN = 403,
  5. CONNECTION_ERROR = 404,
  6. SERVER_ERROR = 500,
  7. UNKNOWN = 999,
  8. }
  9. export enum REQUEST_CODES {
  10. SUCCESS = 0,
  11. BAD_CREDENTIALS = 1,
  12. BAD_TOKEN = 2,
  13. NO_CONSENT = 3,
  14. TOKEN_SAVE = 4,
  15. TOKEN_RETRIEVE = 5,
  16. BAD_INPUT = 400,
  17. FORBIDDEN = 403,
  18. CONNECTION_ERROR = 404,
  19. SERVER_ERROR = 500,
  20. UNKNOWN = 999,
  21. }