Exception: THTP::SerializationError
- Inherits:
-
ServerError
- Object
- StandardError
- Error
- ServerError
- THTP::SerializationError
- Defined in:
- lib/thtp/errors.rb
Overview
Indicates a failure to turn a value into Thrift bytes according to schema
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(error) ⇒ SerializationError
constructor
A new instance of SerializationError.
Methods inherited from ServerError
Constructor Details
#initialize(error) ⇒ SerializationError
Returns a new instance of SerializationError.
65 66 67 |
# File 'lib/thtp/errors.rb', line 65 def initialize(error) super (error) end |
Class Method Details
.type ⇒ Object
60 61 62 |
# File 'lib/thtp/errors.rb', line 60 def self.type Thrift::ApplicationException::PROTOCOL_ERROR end |