Tweak comment spelling

This commit is contained in:
Simon Redfern 2023-11-08 07:10:17 +01:00
parent 8a4ccfdeb9
commit 2298f5babe

View File

@ -19,8 +19,8 @@ object ErrorMessages {
// 3) Before adding a new message, check that you can't use one that already exists.
// 4) Use Proper Names for OBP Resources.
// 5) Don't use abbreviations.
// 6) Any messaage defined here should be considered "fair game" to return over the API. Thus:
// 7) Since the existance of "OBP-..." in a message is used to determine if we should display to a user if display_internal_errors=false, do *not* concatenate internal or core banking system error messages to these strings.
// 6) Any message defined here should be considered "fair game" to return over the API. Thus:
// 7) Since the existence of "OBP-..." in a message is used to determine if we should display to a user if display_internal_errors=false, do *not* concatenate internal or core banking system error messages to these strings.
def apiFailureToString(code: Int, message: String, context: Option[CallContext]): String = JsonAST.compactRender(