Interface ErrorCodeResolver

All Known Implementing Classes:
DefaultErrorCodeResolver

public interface ErrorCodeResolver
The Error code resolver interface to get the error code.
  • Method Details

    • getErrorCodeForMessage

      String getErrorCodeForMessage(String message)
      Gets error code for message.
      Parameters:
      message - the message
      Returns:
      the error code for message
    • getErrorCode

      String getErrorCode(String errorCodeKey)
      Gets error code for given key.
      Parameters:
      errorCodeKey - the error code key
      Returns:
      the error code