Exception: PowerTrack::UnauthorizedError
- Inherits:
-
PredefinedStatusPowerTrackError
- Object
- StandardError
- BasePowerTrackError
- WithStatusPowerTrackError
- PredefinedStatusPowerTrackError
- PowerTrack::UnauthorizedError
- Defined in:
- lib/powertrack/errors.rb
Overview
HTTP authentication failed due to invalid credentials.
Instance Attribute Summary
Attributes inherited from BasePowerTrackError
Instance Method Summary collapse
-
#initialize(message, body) ⇒ UnauthorizedError
constructor
A new instance of UnauthorizedError.
Methods inherited from WithStatusPowerTrackError
Constructor Details
#initialize(message, body) ⇒ UnauthorizedError
Returns a new instance of UnauthorizedError.
71 72 73 |
# File 'lib/powertrack/errors.rb', line 71 def initialize(, body) super(401, , body) end |