Exception: Protobuf::Rpc::RpcError

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

#encode, #to_response

Constructor Details

#initialize(message = 'RPC exception occurred') ⇒ RpcError

Returns a new instance of RpcError.



31
32
33
# File 'lib/protobuf/rpc/error/server_error.rb', line 31

def initialize(message = 'RPC exception occurred')
  super message, 'RPC_ERROR'
end