2021-12-02 11:59:10 +01:00
|
|
|
# ONLY USE THE ERRORCODES 400 and 500 HERE
|
|
|
|
Exceptions:
|
2021-12-02 15:57:58 +01:00
|
|
|
- Exception: NoDataFoundException
|
2021-12-02 11:59:10 +01:00
|
|
|
ErrorCode: 400
|
|
|
|
ServiceErrorCode: 10001
|
|
|
|
ErrorMessage: item not found
|
|
|
|
ErrorInfoURL: https://google.com
|
|
|
|
- Exception: TooMuchDataFoundException
|
|
|
|
ErrorCode: 400
|
|
|
|
ServiceErrorCode: 10002
|
|
|
|
ErrorMessage: too many items found
|
|
|
|
ErrorInfoURL: https://google.com
|
2021-12-02 15:57:58 +01:00
|
|
|
- Exception: UnsupportedDataTypeException
|
|
|
|
ErrorCode: 500
|
|
|
|
ServiceErrorCode: 10003
|
|
|
|
ErrorMessage: unsupported data type, review the DbService implementation
|
|
|
|
ErrorInfoURL: https://google.com
|
2021-12-02 11:59:10 +01:00
|
|
|
# Make sure "Exception: Exception" is the last entry in the list
|
|
|
|
- Exception: Exception
|
|
|
|
ErrorCode: 500
|
|
|
|
ServiceErrorCode: 10000
|
|
|
|
ErrorMessage: INSERT_EXCEPTION_MESSAGE
|
|
|
|
ErrorInfoURL: https://google.com
|