Sha256: 49ab4c143efad11fd7908c3be3546a5240124bb9bff619eaefd5942d3701c1b1

Contents?: true

Size: 636 Bytes

Versions: 10

Compression:

Stored size: 636 Bytes

Contents

# -*- encoding: utf-8 -*-
# -*- frozen_string_literal: true -*-
# -*- warn_indent: true -*-

module UnitMeasurements
  # The +UnitMeasurements::BlankQuantityError+ class represents an error that
  # occurs when trying to initialize the +Measurement+ with a blank quantity.
  #
  # @see BaseError
  # @author {Harshal V. Ladhe}[https://shivam091.github.io/]
  # @since 5.10.0
  class BlankQuantityError < BaseError
    # Initializes a new +BlankQuantityError+ instance.
    #
    # @author {Harshal V. Ladhe}[https://shivam091.github.io/]
    # @since 5.10.0
    def initialize
      super("Quantity cannot be blank.")
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
unit_measurements_us_complete-5.17.0 lib/unit_measurements/errors/blank_quantity_error.rb
unit_measurements-5.17.0 lib/unit_measurements/errors/blank_quantity_error.rb
unit_measurements-5.16.0 lib/unit_measurements/errors/blank_quantity_error.rb
unit_measurements-5.15.0 lib/unit_measurements/errors/blank_quantity_error.rb
unit_measurements-5.14.0 lib/unit_measurements/errors/blank_quantity_error.rb
unit_measurements-5.13.0 lib/unit_measurements/errors/blank_quantity_error.rb
unit_measurements-5.12.0 lib/unit_measurements/errors/blank_quantity_error.rb
unit_measurements-5.11.1 lib/unit_measurements/errors/blank_quantity_error.rb
unit_measurements-5.11.0 lib/unit_measurements/errors/blank_quantity_error.rb
unit_measurements-5.10.0 lib/unit_measurements/errors/blank_quantity_error.rb