Class: ActiveRpc::Errors::InternalError

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:) ⇒ InternalError

Returns a new instance of InternalError.



60
61
62
# File 'lib/active_rpc/errors.rb', line 60

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