class THTP::BadResponseError
We don't recognise the response (client & server schemas don't match, or it's just invalid)
Public Class Methods
new(rpc, response = nil)
click to toggle source
Calls superclass method
# File lib/thtp/errors.rb, line 53 def initialize(rpc, response = nil) super "#{rpc} failed: unknown result#{": '#{response.inspect}'" if response}" end
type()
click to toggle source
# File lib/thtp/errors.rb, line 49 def self.type Thrift::ApplicationException::MISSING_RESULT end