Exception: Protobuf::Rpc::RpcFailed

Inherits:
PbError
  • Object
show all
Defined in:
lib/protobuf/rpc/error/server_error.rb

Instance Attribute Summary

Attributes inherited from PbError

#error_type

Instance Method Summary collapse

Methods inherited from PbError

#to_response

Constructor Details

#initialize(message = 'RPC failed') ⇒ RpcFailed

Returns a new instance of RpcFailed.



37
38
39
# File 'lib/protobuf/rpc/error/server_error.rb', line 37

def initialize message='RPC failed'
  super message, 'RPC_FAILED'
end