struct CrystaLXD::Error

Included Modules

Defined in:

error.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def error : String #

[View source]
def error_code : Code #

[View source]
def noerr! #

Raises an error. Used to only return a Success, and raising when Error.


[View source]
def success(&) #

Do not yield. Useful in case of an union with Success.


[View source]
def type : String #

[View source]