Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Granite::Error
Inherits
Reference
<
Object
Constructors
new
(field :
String
|
Symbol
|
JSON::Any
, message :
String
|
Nil
= "")
Source
Instance methods
field
Source
field=
(field :
JSON::Any
|
String
|
Symbol
)
Source
message
Source
message=
(message :
Nil
|
String
)
Source
to_json
(builder :
JSON::Builder
)
Source
to_s
(io)
Source