struct Amber::Validators::Error

Overview

Holds a validation error message

Defined in:

amber/validators/params.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(param : String, value : String | Nil, message : String) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(param _param = @param, value _value = @value, message _message = @message) #

[View source]
def message : String #

def param : String #

def value : String | Nil #