struct Interro::Validations::Failure

Overview

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

Defined in:

validations.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(errors : Array(Error)) #

[View source]
def self.new(error_messages : Array(String)) : Failure #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(errors _errors = @errors) #

[View source]
def errors : Array(Error) #