Exception: PrestoLegacy::Client::PrestoHttpError
- Inherits:
-
PrestoError
- Object
- StandardError
- PrestoError
- PrestoLegacy::Client::PrestoHttpError
- Defined in:
- lib/presto_legacy/client/errors.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, message) ⇒ PrestoHttpError
constructor
A new instance of PrestoHttpError.
Constructor Details
#initialize(status, message) ⇒ PrestoHttpError
Returns a new instance of PrestoHttpError.
21 22 23 24 |
# File 'lib/presto_legacy/client/errors.rb', line 21 def initialize(status, ) super() @status = status end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
26 27 28 |
# File 'lib/presto_legacy/client/errors.rb', line 26 def status @status end |