Simple validation framework using function references to execute validation process. Executed using [[validate]] function which throws a [[ValidationError]]
or passing with no result. The process executes all validation, even when first fails, allowing to extract all results from provided [[ValidationError]],
through [[ValidationError.errors]].
Example:
void someValidation(String param) {
throw Exception("INVALID ``param``");
}
validate {
validations = ...
Compile Dependencies (1)
| Category/License | Group / Artifact | Version | Updates | |
|---|---|---|---|---|
| org.ceylon-lang » ceylon.language | 1.3.3 | ✔ |