Exception: Gista::RequestError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gista.rb

Overview

Exception raised when the request does not respond as we expected.

Instance Method Summary collapse

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