Sha256: 039d6026c1a8b3b80555ccf916ca36f0158a834c97c2354e1d4946b4ab87ad3a
Contents?: true
Size: 731 Bytes
Versions: 26
Compression:
Stored size: 731 Bytes
Contents
# -*- encoding: utf-8 -*- # -*- frozen_string_literal: true -*- # -*- warn_indent: true -*- module UnitMeasurements # The +UnitMeasurements::PrimitiveUnitAlreadySetError+ class represents an # error that occurs when attempting to set a primitive unit for the unit group # that already has a primitive unit defined. # # @see BaseError # @author {Harshal V. Ladhe}[https://shivam091.github.io/] # @since 4.0.0 class PrimitiveUnitAlreadySetError < BaseError # Initializes a new +PrimitiveUnitAlreadySetError+ instance. # # @author {Harshal V. Ladhe}[https://shivam091.github.io/] # @since 4.0.0 def initialize super("The primitive unit is already set for the unit group.") end end end
Version data entries
26 entries across 26 versions & 2 rubygems