lib/unit_measurements/base.rb in unit_measurements-5.11.1 vs lib/unit_measurements/base.rb in unit_measurements-5.12.0
- old
+ new
@@ -14,14 +14,17 @@
# @author {Harshal V. Ladhe}[https://shivam091.github.io/]
# @since 0.1.0
module UnitMeasurements
# This is the base class for custom errors in the +UnitMeasurements+ module.
#
+ # @see UnitError
# @see ParseError
- # @see PrimitiveUnitAlreadySetError
+ # @see BlankUnitError
+ # @see BlankQuantityError
# @see UnitAlreadyDefinedError
- # @see UnitError
+ # @see MissingPrimitiveUnitError
+ # @see PrimitiveUnitAlreadySetError
# @author {Harshal V. Ladhe}[https://shivam091.github.io/]
# @since 1.1.0
class BaseError < StandardError; end
class << self
@@ -166,5 +169,6 @@
require "unit_measurements/errors/parse_error"
require "unit_measurements/errors/unit_already_defined_error"
require "unit_measurements/errors/primitive_unit_already_set_error"
require "unit_measurements/errors/blank_quantity_error"
require "unit_measurements/errors/blank_unit_error"
+require "unit_measurements/errors/missing_primitive_unit_error"