Exception: Protobuf::Rpc::ServiceNotFound

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 class not found') ⇒ ServiceNotFound

Returns a new instance of ServiceNotFound.



19
20
21
# File 'lib/protobuf/rpc/error/server_error.rb', line 19

def initialize message='Service class not found'
  super message, 'SERVICE_NOT_FOUND'
end