Skip to content

Commit

Permalink
Tweak comment spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
simonredfern committed Nov 8, 2023
1 parent 8a4ccfd commit 2298f5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions obp-api/src/main/scala/code/api/util/ErrorMessages.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 2298f5b

Please sign in to comment.