class Cannon::Rpc::RemoteError

Overview

Remote error class, raised when a remote call encountered an error

Defined in:

cannon/rpc.cr

Constructors

Instance Method Summary

Class methods inherited from class Object

to_cannon_io(io, value) to_cannon_io

Constructor Detail

def self.new(type : String, remote_message) #

[View source]

Instance Method Detail

def remote_message : String #

The remote error message


[View source]
def type : String #

The remote exception type, like "ArgumentError"


[View source]