Package com.networknt.schema
Interface ErrorMessageType
-
- All Known Implementing Classes:
CustomErrorMessageType
,ValidatorTypeCode
public interface ErrorMessageType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.String
getErrorCode()
Your error code.default java.lang.String
getErrorCodeValue()
Get the text representation of the error code.
-
-
-
Method Detail
-
getErrorCode
java.lang.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 java.lang.String getErrorCodeValue()
Get the text representation of the error code.- Returns:
- The error code value.
-
-