Exception: GhostRb::Errors::RequestError
- Inherits:
-
StandardError
- Object
- StandardError
- GhostRb::Errors::RequestError
- Defined in:
- lib/ghost_rb/errors.rb
Overview
Instance Attribute Summary collapse
- #errors ⇒ Object readonly
- #status ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(message, status, errors) ⇒ RequestError
constructor
A new instance of RequestError.
Constructor Details
#initialize(message, status, errors) ⇒ RequestError
Returns a new instance of RequestError.
12 13 14 15 16 |
# File 'lib/ghost_rb/errors.rb', line 12 def initialize(, status, errors) super() @status = status @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
10 11 12 |
# File 'lib/ghost_rb/errors.rb', line 10 def errors @errors end |
#status ⇒ Object (readonly)
10 11 12 |
# File 'lib/ghost_rb/errors.rb', line 10 def status @status end |