Exception: Ds18b20::InvalidReadingError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ds18b20/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initializeInvalidReadingError

Returns a new instance of InvalidReadingError.



3
4
5
# File 'lib/ds18b20/exceptions.rb', line 3

def initialize
  super("An error occurred while reading the temperature.\nPlease make sure that the DS18B20 sensor is properly installed and you've specified the correct file.")
end