Jsonrpc.Error (jsonrpc v0.2.0) View Source
Jsonrpc.Error represents a JSONRPC 2.0 error, as documented in the
JSON-RPC 2.0 specification
Link to this section Summary
Link to this section Types
Specs
error_type() :: :parse_error | :invalid_request | :method_not_found | :invalid_params | :internal_error | :server_error | :unknown
Specs
t() :: %Jsonrpc.Error{
code: integer(),
data: any() | nil,
message: String.t(),
type: error_type()
}