class JsonRpc::RemoteCallError

Overview

Raised when the remote end signaled an invocation error

Defined in:

json_rpc/remote_call_error.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(message, object : JSON::Any) #

[View source]

Instance Method Detail

def code : Int #

The JSON-RPC error code


[View source]
def conforming? : Bool #

Returns true if the #object format conforms to the JSON-RPC specification.


[View source]
def data : JSON::Any | Nil #

The JSON-RPC error data. This is optional.


[View source]
def object : JSON::Any #

The error object. See #conforming?


[View source]
def remote_message : String #

The JSON-RPC error message


[View source]