class Validations::Error

Overview

Raised when the including type has validation errors after calling valid!.

Defined in:

validations.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(invalid_attributes : Hash(String, Array(String))) #

[View source]

Instance Method Detail

def invalid_attributes : Hash(String, Array(String)) #

A hash of invalid attributes, similar to Validations#invalid_attributes.


[View source]