Exception: PowerTrack::ConnectionError

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

Overview

An error which is raised when there is a connection issue with the PowerTrack endpoint

Instance Attribute Summary

Attributes inherited from BasePowerTrackError

#body, #status

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ ConnectionError

Returns a new instance of ConnectionError.



27
28
29
# File 'lib/powertrack/errors.rb', line 27

def initialize(message)
  super(message, nil)
end