Class ErrorTemplate<T>


  • public class ErrorTemplate<T>
    extends Object

    Description of file/class

    Usage examples
       
          List failures = Fallible.of("")
               .errorTemplate(template(s -> "The string [" + s + "] does not match rule: {%s}"))
               .ensure(StringUtils::isNotBlank, s -> b -> b.reason("Input can not be blank"))
               .failures();
       
      
    Since:
    1.0.0
    Version:
    1.0.0
    Author:
    Stijn Dejongh