Exception: Uatu::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Uatu::Error
- Defined in:
- lib/uatu/error.rb
Direct Known Subclasses
Defined Under Namespace
Classes: BadRequest, ClientError
Instance Attribute Summary collapse
-
#http_headers ⇒ Object
readonly
Returns the value of attribute http_headers.
Instance Method Summary collapse
-
#initialize(message, http_headers = {}) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, http_headers = {}) ⇒ Error
Returns a new instance of Error.
5 6 7 8 |
# File 'lib/uatu/error.rb', line 5 def initialize(, http_headers={}) @http_headers = http_headers super() end |
Instance Attribute Details
#http_headers ⇒ Object (readonly)
Returns the value of attribute http_headers.
3 4 5 |
# File 'lib/uatu/error.rb', line 3 def http_headers @http_headers end |