Exception: Clubhouse::ClubhouseAPIError

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

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ ClubhouseAPIError

Returns a new instance of ClubhouseAPIError.



9
10
11
# File 'lib/clubhouse2/exceptions.rb', line 9

def initialize(response)
	super('api error (%d): %s' % [ response.code, response.to_s ])
end