class Marten::Core::Validation::Error

Overview

Represents a validation error.

Included Modules

Defined in:

marten/core/validation/error.cr
marten/template/ext/core/validation/error.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(message : String, type : String | Symbol, field : Nil | String | Symbol = nil) #

[View source]

Instance Method Detail

def field : String? #

[View source]
def message : String #

[View source]
def type : String #

[View source]