struct

CrystaLXD::Success(T)

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Instance methods

error
error_code
metadata
noerr!

Returns self. Used to only return a Success without an union with Error.

operation
status
status_code
success

Yields self. Useful in case of an union with Error.

type

Nested types