Exception: Kong::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Kong::Error
- Defined in:
- lib/kong/error.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, message) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(status, message) ⇒ Error
Returns a new instance of Error.
5 6 7 8 |
# File 'lib/kong/error.rb', line 5 def initialize(status, ) @status = status super() end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
3 4 5 |
# File 'lib/kong/error.rb', line 3 def status @status end |