File: errors.py

package info (click to toggle)
python-crownstone-cloud 1.4.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 240 kB
  • sloc: python: 1,126; makefile: 4
file content (26 lines) | stat: -rw-r--r-- 573 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
auth_error = {
    "error": {
        "statusCode": 401,
        "name": "Authentication failed",
        "message": "Authentication fail",
        "code": "LOGIN_FAILED",
    }
}

not_verified = {
    "error": {
        "statusCode": 401,
        "name": "Authentication failed",
        "message": "Authentication fail",
        "code": "LOGIN_FAILED_EMAIL_NOT_VERIFIED",
    }
}

access_token_expired = {
    "error": {
        "statusCode": 401,
        "name": "Authentication failed",
        "message": "Authentication fail",
        "code": "INVALID_TOKEN",
    }
}