Exception: BWAPI::BWError
- Inherits:
-
StandardError
- Object
- StandardError
- BWAPI::BWError
- Defined in:
- lib/bwapi/error.rb
Overview
BW error class to capture BWAPI error responses
Direct Known Subclasses
BadGateway, BadRequest, Forbidden, InternalServerError, NotAcceptable, NotFound, NotImplemented, ServiceUnavailable, TooManyRequests, Unauthorized, UnprocessableEntity
Instance Method Summary collapse
-
#initialize(response = nil) ⇒ BWError
constructor
A new instance of BWError.
Constructor Details
#initialize(response = nil) ⇒ BWError
Returns a new instance of BWError.
5 6 7 |
# File 'lib/bwapi/error.rb', line 5 def initialize(response=nil) super() end |