Class: ActiveRpc::Errors::ParseError

Inherits:
ActiveRpc::Error show all
Defined in:
lib/active_rpc/errors.rb

Instance Attribute Summary

Attributes inherited from ActiveRpc::Error

#code, #data, #message

Instance Method Summary collapse

Methods inherited from ActiveRpc::Error

#to_hash

Constructor Details

#initialize(message:) ⇒ ParseError

Returns a new instance of ParseError.



48
49
50
# File 'lib/active_rpc/errors.rb', line 48

def initialize(message:)
  super(message: message, code: -32700)
end