Module: LittleBirdErrors

Included in:
AuthorizationError, InternalError, ParameterError, RateLimitError
Defined in:
lib/little_bird_errors.rb

Instance Method Summary collapse

Instance Method Details

#initialize(response) ⇒ Object



3
4
5
# File 'lib/little_bird_errors.rb', line 3

def initialize(response)
  @response = response
end

#messageObject



7
8
9
# File 'lib/little_bird_errors.rb', line 7

def message
  @response.error+"\n"+@response.inspect
end