Exception: THTP::ServerValidationError

Inherits:
ServerError show all
Defined in:
lib/thtp/errors.rb

Overview

Indicates that some Thrift struct failed cursory schema validation on the server

Instance Method Summary collapse

Methods inherited from ServerError

#to_thrift, type

Constructor Details

#initialize(validation_message) ⇒ ServerValidationError

Returns a new instance of ServerValidationError.



98
99
100
# File 'lib/thtp/errors.rb', line 98

def initialize(validation_message)
  super validation_message, Thrift::ApplicationException::UNKNOWN
end