Exception: PowerTrack::UnauthorizedError

Inherits:
PredefinedStatusPowerTrackError show all
Defined in:
lib/powertrack/errors.rb

Overview

HTTP authentication failed due to invalid credentials.

Instance Attribute Summary

Attributes inherited from BasePowerTrackError

#body, #status

Instance Method Summary collapse

Methods inherited from WithStatusPowerTrackError

build

Constructor Details

#initialize(message, body) ⇒ UnauthorizedError

Returns a new instance of UnauthorizedError.



71
72
73
# File 'lib/powertrack/errors.rb', line 71

def initialize(message, body)
  super(401, message, body)
end