File size: 970 Bytes
1e92f2d |
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 34 35 36 37 |
"""
Known error codes that the server can return.
These values will be returned in the `extensions.code` field of the error response.
"""
enum ErrorCode {
"""
The input value is invalid, the `path` field will contain the exact path to the invalid input.
A separate error will be returned for each invalid field.
"""
INVALID_INPUT_VALUE
"""
The `path` field contains the exact path to the DestinationInput that is invalid.
The `extensions.fieldID` field contains the ID of the input field that is invalid.
A separate error will be returned for each invalid field.
"""
INVALID_DEST_FIELD_VALUE
"""
The `path` field contains the exact path to the map that is invalid.
The `extensions.key` field contains the key of the value that is invalid.
A separate error will be returned for each invalid value.
"""
INVALID_MAP_FIELD_VALUE
"""
The expr expression is too complex to be converted to a Condition.
"""
EXPR_TOO_COMPLEX
}
|