Exception: THTP::UnknownRpcError
- Inherits:
-
ServerError
- Object
- StandardError
- Error
- ServerError
- THTP::UnknownRpcError
- Defined in:
- lib/thtp/errors.rb
Overview
Indicates a well-formatted request for an RPC that does not exist
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(rpc) ⇒ UnknownRpcError
constructor
A new instance of UnknownRpcError.
Methods inherited from ServerError
Constructor Details
#initialize(rpc) ⇒ UnknownRpcError
Returns a new instance of UnknownRpcError.
42 43 44 |
# File 'lib/thtp/errors.rb', line 42 def initialize(rpc) super "Unknown RPC '#{rpc}'" end |
Class Method Details
.type ⇒ Object
37 38 39 |
# File 'lib/thtp/errors.rb', line 37 def self.type Thrift::ApplicationException::WRONG_METHOD_NAME end |