Sha256: 1567e0240bd36a176791a17d2d4956d5d2053830ab06bba1611aa330dc51e4f1

Contents?: true

Size: 444 Bytes

Versions: 2

Compression:

Stored size: 444 Bytes

Contents

module Eymiha

  # Raised when a general problem has occurred in the Units framework or some
  # other error has occurred during its use.
  class UnitsException < Exception
  end
  
  
  # Raised when a unit was expected but was not found.
  class MissingUnitsException < UnitsException
  end
  
  
  # Raised when a unit was expected but more than one was found.
  class AmbiguousUnitsException < UnitsException
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eymiha_units-1.0.0 lib/eymiha/units/units_exception.rb
eymiha_units-1.0.1 lib/eymiha/units/units_exception.rb