class JoobQ::APIValidation::ValidationError

Overview

Validation error details

Included Modules

Defined in:

joobq/api_validation.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(field : String, message : String, value : JSON::Any | Nil = nil, code : String = "validation_error") #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def code : String #

[View source]
def field : String #

[View source]
def message : String #

[View source]
def value : JSON::Any | Nil #

[View source]