class Amber::Schema::Error

Overview

Base error class for all schema-related errors

Direct Known Subclasses

Defined in:

amber/schema/errors.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(field : String, message : String, code : String, details : Hash(String, JSON::Any) | Nil = nil) #

[View source]

Instance Method Detail

def code : String #

[View source]
def details : Hash(String, JSON::Any) | Nil #

[View source]
def field : String #

[View source]
def to_h #

[View source]