struct Cannon::Rpc::Protocol::ErrorResponse

Overview

Response packet for remote errors

Included Modules

Extended Modules

Defined in:

cannon/rpc/protocol.cr

Constructors

Instance Method Summary

Instance methods inherited from module Cannon::AutoToIo

to_cannon_io(io) to_cannon_io

Class methods inherited from class Object

to_cannon_io(io, value) to_cannon_io

Constructor Detail

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

[View source]

Instance Method Detail

def message : String #

The remote error message


[View source]
def message=(message : String) #

The remote error message


[View source]
def type : String #

The remote exception type, like "ArgumentError"


[View source]
def type=(type : String) #

The remote exception type, like "ArgumentError"


[View source]