struct

Interro::Validations::Failure

Inherits Struct / Value / Object

Returned when one or more validations did not pass and contains all of the validation errors.

Constructors

new(errors : Array(Error))
Source
new(error_messages : Array(String)) : Failure
Source

Instance methods

clone
Source
copy_with(errors _errors = @errors)
Source
errors