Exception: Protobuf::Rpc::MethodNotFound

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 = 'Service method not found') ⇒ MethodNotFound

Returns a new instance of MethodNotFound.



25
26
27
# File 'lib/protobuf/rpc/error/server_error.rb', line 25

def initialize message='Service method not found'
  super message, 'METHOD_NOT_FOUND'
end