class THTP::BadRequestError

Indicates an unrecognised or inappropriate RPC request format

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/thtp/errors.rb, line 30
def initialize
  super 'Calls must be made as POSTs to /:service/:rpc'
end
type() click to toggle source
# File lib/thtp/errors.rb, line 26
def self.type
  Thrift::ApplicationException::UNKNOWN_METHOD
end