Package com.avoka.tm.func
Class ValidationError
java.lang.Object
com.avoka.tm.func.ValidationError
Provides a Form function validation error.
- Since:
- 17.10.0
-
Field Summary
-
Constructor Summary
ConstructorDescriptionValidationError
(String errorKey) Create a validation error with the given errorKey.ValidationError
(String errorKey, String path) Create a validation error with the given errorKey and data path.Create a validation error with the given errorKey, data path and parameters. -
Method Summary
-
Field Details
-
errorKey
The validation error message key. -
path
The data element path. -
parameters
The validation error message parameters.
-
-
Constructor Details
-
ValidationError
Create a validation error with the given errorKey.- Parameters:
errorKey
- the validation errorKey (required)
-
ValidationError
Create a validation error with the given errorKey and data path.- Parameters:
errorKey
- the validation errorKey (required)path
- the validation error data path (optional)
-
ValidationError
Create a validation error with the given errorKey, data path and parameters.- Parameters:
errorKey
- the validation errorKey (required)path
- the validation error data path (optional)parameters
- the validation error parameters (optional)
-
-
Method Details