Exception: Trello::Exceptions::RequestError
- Inherits:
-
StandardError
- Object
- StandardError
- Trello::Exceptions::RequestError
- Defined in:
- lib/trello/exceptions.rb
Instance Method Summary collapse
-
#initialize(message:, http_code:) ⇒ RequestError
constructor
A new instance of RequestError.
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:) = "#{http_code}: #{}" super() end |