Interface ErrorMessageType

All Known Implementing Classes:
CustomErrorMessageType, ValidatorTypeCode

public interface ErrorMessageType
  • Method Summary

    Modifier and Type
    Method
    Description
    Your error code.
    default String
    Get the text representation of the error code.
  • Method Details

    • getErrorCode

      String getErrorCode()
      Your error code. Please ensure global uniqueness. Builtin error codes are sequential numbers.

      Customer error codes could have a prefix to denote the namespace of your custom keywords and errors.

      Returns:
      error code
    • getErrorCodeValue

      default String getErrorCodeValue()
      Get the text representation of the error code.
      Returns:
      The error code value.