Exception: Measurements::Exception::NoUnitError
- Inherits:
-
StandardError
- Object
- StandardError
- Measurements::Exception::NoUnitError
- Defined in:
- lib/measurements/exception.rb
Overview
This is an extention of the StandardError and it will be raised when you try to convert to a unit that doesn't exist. An example would be Ounce.new(3).convert_to :fake_unit