struct Launch::Validators::Error

Overview

Holds a validation error message

Defined in:

launch/validators/params.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

blank? blank?, present? present?

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 #