string replacement, better exception names

This commit is contained in:
Wolfgang Hottgenroth
2021-12-15 14:58:24 +01:00
parent 7b039b4fa4
commit 0f4c509b13
5 changed files with 90 additions and 22 deletions

View File

@ -20,9 +20,14 @@ Exceptions:
ServiceErrorCode: 10004
ErrorMessage: the database tag mentioned in the API spec is not configured on the server, review the server configuration
ErrorInfoURL: https://google.com
- Exception: StringReplacementNotAllowedException
ErrorCode: 500
ServiceErrorCode: 10005
ErrorMessage: parameter binding by string replacement is not allowed for this select, review the openapi specifiction
ErrorInfoURL: https://google.com
# Make sure "Exception: Exception" is the last entry in the list
- Exception: Exception
ErrorCode: 500
ServiceErrorCode: 10000
ErrorMessage: INSERT_EXCEPTION_MESSAGE
ErrorMessage: catch-all message
ErrorInfoURL: https://google.com