struct SimpleRpc::Result(T)

Defined in:

simple_rpc/result.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(error : Errors | Nil = nil, value : T | Nil = nil) #

[View source]

Instance Method Detail

def error #

[View source]
def error! #

[View source]
def message! #

[View source]
def ok? #

[View source]
def value #

[View source]
def value! #

[View source]