class THTP::InternalError

Indicates an uncategorised exception – an error unrelated to Thrift, somewhere in application code.

Public Class Methods

new(error) click to toggle source

@param error [StandardError]

Calls superclass method
# File lib/thtp/errors.rb, line 111
def initialize(error)
  super "Internal error (#{error.class}): #{error.message}"
end
type() click to toggle source
# File lib/thtp/errors.rb, line 106
def self.type
  Thrift::ApplicationException::INTERNAL_ERROR
end