string replacement, better exception names
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user