class

Cri::Effects::Result

Inherits JSON::Serializable < Reference < Object

Constructors

new(type : String, ok : Bool, result : JSON::Any | Nil = nil, error : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

error
Source
error=(error : String | Nil)
Source
ok=(ok : Bool)
Source
result
Source
result=(result : JSON::Any | Nil)
Source
type
Source
type=(type : String)
Source