class THTP::UnknownRpcError
Indicates a well-formatted request for an RPC that does not exist
Public Class Methods
new(rpc)
click to toggle source
@param rpc [String] the RPC requested
Calls superclass method
# File lib/thtp/errors.rb, line 42 def initialize(rpc) super "Unknown RPC '#{rpc}'" end
type()
click to toggle source
# File lib/thtp/errors.rb, line 37 def self.type Thrift::ApplicationException::WRONG_METHOD_NAME end