Class: ActiveRpc::Errors::ArgumentError

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

Returns a new instance of ArgumentError.



54
55
56
# File 'lib/active_rpc/errors.rb', line 54

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