summaryrefslogtreecommitdiffstats
path: root/common-app-api/src/test/resources/config/common/error-configuration.yaml
blob: d6c0a5f693ee780b0dfa917e3134d3843fe9ffc1 (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
27
28
29
30
31
32
33
# 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"
    }

    # %1 - The capability name
    # %2 - The model
    CAPABILITY_NOT_FOUND:
        code: 404
        message: "Capability '%1' was not found for model '%2'."
        messageId: "SVC4014"