Exception: Gista::RequestError
- Inherits:
-
StandardError
- Object
- StandardError
- Gista::RequestError
- Defined in:
- lib/gista.rb
Overview
Exception raised when the request does not respond as we expected.
Instance Method Summary collapse
-
#initialize(*args) ⇒ RequestError
constructor
A new instance of RequestError.
Constructor Details
#initialize(*args) ⇒ RequestError
Returns a new instance of RequestError.
38 39 40 |
# File 'lib/gista.rb', line 38 def initialize(*args) super *args.unshift("Github responded with #{args.shift}") end |