Exception: Ds18b20::InvalidReadingError
- Inherits:
-
StandardError
- Object
- StandardError
- Ds18b20::InvalidReadingError
- Defined in:
- lib/ds18b20/exceptions.rb
Instance Method Summary collapse
-
#initialize ⇒ InvalidReadingError
constructor
A new instance of InvalidReadingError.
Constructor Details
#initialize ⇒ InvalidReadingError
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 |