Sha256: 317752aafa2c46476fe259f33c057063fe333557e9c9a7376284bd07505ac80e

Contents?: true

Size: 270 Bytes

Versions: 25

Compression:

Stored size: 270 Bytes

Contents

# frozen_string_literal: true

module Versionaire
  module Errors
    # Thrown when numbers are negative.
    class NegativeNumber < Base
      def initialize message = "Major, minor, and maintenance must be a positive number."
        super
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
versionaire-7.3.4 lib/versionaire/errors/negative_number.rb
versionaire-7.3.3 lib/versionaire/errors/negative_number.rb
versionaire-7.3.2 lib/versionaire/errors/negative_number.rb
versionaire-7.3.1 lib/versionaire/errors/negative_number.rb
versionaire-7.3.0 lib/versionaire/errors/negative_number.rb
versionaire-7.2.0 lib/versionaire/errors/negative_number.rb
versionaire-7.1.0 lib/versionaire/errors/negative_number.rb
versionaire-7.0.0 lib/versionaire/errors/negative_number.rb
versionaire-6.0.0 lib/versionaire/errors/negative_number.rb
versionaire-5.2.0 lib/versionaire/errors/negative_number.rb
versionaire-5.1.0 lib/versionaire/errors/negative_number.rb
versionaire-5.0.0 lib/versionaire/errors/negative_number.rb
versionaire-4.0.1 lib/versionaire/errors/negative_number.rb
versionaire-4.0.0 lib/versionaire/errors/negative_number.rb
versionaire-3.3.1 lib/versionaire/errors/negative_number.rb
versionaire-3.3.0 lib/versionaire/errors/negative_number.rb
versionaire-3.2.0 lib/versionaire/errors/negative_number.rb
versionaire-3.1.0 lib/versionaire/errors/negative_number.rb
versionaire-3.0.0 lib/versionaire/errors/negative_number.rb
versionaire-2.2.0 lib/versionaire/errors/negative_number.rb