Exception: Lightstreamer::Errors::MetadataAdapterError
- Inherits:
-
LightstreamerError
- Object
- StandardError
- LightstreamerError
- Lightstreamer::Errors::MetadataAdapterError
- Defined in:
- lib/lightstreamer/errors.rb
Overview
This error is raised when a error defined by a metadata adapter is raised.
Instance Attribute Summary collapse
-
#adapter_error_code ⇒ Fixnum
readonly
The error code from the metadata adapter.
-
#adapter_error_message ⇒ String
readonly
The error message from the metadata adapter.
Instance Method Summary collapse
-
#initialize(message, code) ⇒ MetadataAdapterError
constructor
Initializes this metadata adapter error with the specified error message and error code.
Methods inherited from LightstreamerError
Constructor Details
#initialize(message, code) ⇒ MetadataAdapterError
Initializes this metadata adapter error with the specified error message and error code.
130 131 132 133 134 135 |
# File 'lib/lightstreamer/errors.rb', line 130 def initialize(, code) @adapter_error_message = @adapter_error_code = code super end |
Instance Attribute Details
#adapter_error_code ⇒ Fixnum (readonly)
The error code from the metadata adapter.
124 125 126 |
# File 'lib/lightstreamer/errors.rb', line 124 def adapter_error_code @adapter_error_code end |
#adapter_error_message ⇒ String (readonly)
The error message from the metadata adapter.
119 120 121 |
# File 'lib/lightstreamer/errors.rb', line 119 def @adapter_error_message end |