Exception: Trello::Exceptions::RequestError

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

Instance Method Summary collapse

Constructor Details

#initialize(message:, http_code:) ⇒ RequestError

Returns a new instance of RequestError.



6
7
8
9
# File 'lib/trello/exceptions.rb', line 6

def initialize(message:, http_code:)
  message = "#{http_code}: #{message}"
  super(message)
end