Exception: PowerTrack::InvalidEndpoint

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

Overview

Invalid Endpoint. This occurs when your client tries to connect to an endpoint URL that does not exist.

Instance Attribute Summary

Attributes inherited from BasePowerTrackError

#body, #status

Instance Method Summary collapse

Methods inherited from WithStatusPowerTrackError

build

Constructor Details

#initialize(message, body) ⇒ InvalidEndpoint

Returns a new instance of InvalidEndpoint.



79
80
81
# File 'lib/powertrack/errors.rb', line 79

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