Exception: PowerTrack::BadRequestError
- Inherits:
-
PredefinedStatusPowerTrackError
- Object
- StandardError
- BasePowerTrackError
- WithStatusPowerTrackError
- PredefinedStatusPowerTrackError
- PowerTrack::BadRequestError
- Defined in:
- lib/powertrack/errors.rb
Overview
Generally relates to poorly formatted JSON, and includes an “Invalid JSON” message in the response.
Instance Attribute Summary
Attributes inherited from BasePowerTrackError
Instance Method Summary collapse
-
#initialize(message, body) ⇒ BadRequestError
constructor
A new instance of BadRequestError.
Methods inherited from WithStatusPowerTrackError
Constructor Details
#initialize(message, body) ⇒ BadRequestError
Returns a new instance of BadRequestError.
64 65 66 |
# File 'lib/powertrack/errors.rb', line 64 def initialize(, body) super(400, , body) end |