Package com.avoka.tm.func
Class ValidationError
- java.lang.Object
-
- com.avoka.tm.func.ValidationError
-
public class ValidationError extends Object
Provides a Form function validation error.- Since:
- 17.10.0
-
-
Constructor Summary
Constructors Constructor Description ValidationError(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.ValidationError(String errorKey, String path, Map<String,Object> parameters)
Create a validation error with the given errorKey, data path and parameters.
-
-
-
Constructor Detail
-
ValidationError
public ValidationError(String errorKey)
Create a validation error with the given errorKey.- Parameters:
errorKey
- the validation errorKey (required)
-
ValidationError
public ValidationError(String errorKey, String path)
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
public ValidationError(String errorKey, String path, Map<String,Object> parameters)
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)
-
-