class Granite::Error

Direct Known Subclasses

Defined in:

granite/error.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(field : String | Symbol | JSON::Any, message : String | Nil = "") #

[View source]

Instance Method Detail

def field : JSON::Any | String | Symbol #

[View source]
def field=(field : JSON::Any | String | Symbol) #

[View source]
def message : String? #

[View source]
def message=(message : Nil | String) #

[View source]
def to_json(builder : JSON::Builder) #

[View source]
def to_s(io) #

[View source]