类 ErrorMessages
java.lang.Object
io.github.tcq1007.valid.errorcode.constants.ErrorMessages
Constants for error messages used in error code validation
-
字段概要
字段修饰符和类型字段说明static final StringError message when the error code field must be of int type.static final StringError message when the error code field is not found.static final StringError message when the error code length does not match the expected length.static final StringError message when the error code prefix does not match the expected prefix.static final StringLog message for initializing the ErrorCodeProcessor.static final StringError message when only enum classes are allowed to use @ValidErrorCode annotation.static final StringLog message for processing ErrorCodeProcessor annotations.static final StringError message when unable to extract error code value from enum constant. -
方法概要
-
字段详细资料
-
ONLY_ENUM_CLASSES_ALLOWED
Error message when only enum classes are allowed to use @ValidErrorCode annotation.- 另请参阅:
-
ERROR_CODE_FIELD_NOT_FOUND
Error message when the error code field is not found.- 另请参阅:
-
ERROR_CODE_FIELD_MUST_BE_INT
Error message when the error code field must be of int type.- 另请参阅:
-
UNABLE_TO_EXTRACT_ERROR_CODE
Error message when unable to extract error code value from enum constant.- 另请参阅:
-
ERROR_CODE_LENGTH_MISMATCH
Error message when the error code length does not match the expected length.- 另请参阅:
-
ERROR_CODE_PREFIX_MISMATCH
Error message when the error code prefix does not match the expected prefix.- 另请参阅:
-
INITIALIZING_PROCESSOR
Log message for initializing the ErrorCodeProcessor.- 另请参阅:
-
PROCESSING_ANNOTATIONS
Log message for processing ErrorCodeProcessor annotations.- 另请参阅:
-