summaryrefslogtreecommitdiffstats
path: root/common-app-api/src/test/resources/config/common/error-configuration.yaml
blob: 9db9bbdc5891ca205149c6e9b627bce7c72dae9c (plain)
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
# Errors
errors:
    OK: {
        code: 200,
        message: "OK"
    }
    CREATED: {
        code: 201,
        message: "OK"
    }
    NO_CONTENT: {
        code: 204,
        message: "No Content"
    }
#--------POL4050-----------------------------
    NOT_ALLOWED: {
        code: 405,
        message: "Error: Method not allowed.",
        messageId: "POL4050"
    }
#--------POL5000-----------------------------
    GENERAL_ERROR: {
        code: 500,
        message: "Error: Internal Server Error. Please try again later.",
        messageId: "POL5000"
    }