Class: ActiveRpc::Errors::OperationFailure

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(code:, message:, data: nil) ⇒ OperationFailure

Returns a new instance of OperationFailure.



72
73
74
# File 'lib/active_rpc/errors.rb', line 72

def initialize(code:, message:, data: nil)
  super(message: message, code: code, data: data)
end