Sha256: 4f2e217d62c5becf3b048b88ea9a938c6de7fd59e88ee1b5913870187ffa9a9a

Contents?: true

Size: 257 Bytes

Versions: 25

Compression:

Stored size: 257 Bytes

Contents

# frozen_string_literal: true

module Versionaire
  module Errors
    # Thrown when not using numbers.
    class InvalidNumber < Base
      def initialize message = "Major, minor, and maintenance must be a 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/invalid_number.rb
versionaire-7.3.3 lib/versionaire/errors/invalid_number.rb
versionaire-7.3.2 lib/versionaire/errors/invalid_number.rb
versionaire-7.3.1 lib/versionaire/errors/invalid_number.rb
versionaire-7.3.0 lib/versionaire/errors/invalid_number.rb
versionaire-7.2.0 lib/versionaire/errors/invalid_number.rb
versionaire-7.1.0 lib/versionaire/errors/invalid_number.rb
versionaire-7.0.0 lib/versionaire/errors/invalid_number.rb
versionaire-6.0.0 lib/versionaire/errors/invalid_number.rb
versionaire-5.2.0 lib/versionaire/errors/invalid_number.rb
versionaire-5.1.0 lib/versionaire/errors/invalid_number.rb
versionaire-5.0.0 lib/versionaire/errors/invalid_number.rb
versionaire-4.0.1 lib/versionaire/errors/invalid_number.rb
versionaire-4.0.0 lib/versionaire/errors/invalid_number.rb
versionaire-3.3.1 lib/versionaire/errors/invalid_number.rb
versionaire-3.3.0 lib/versionaire/errors/invalid_number.rb
versionaire-3.2.0 lib/versionaire/errors/invalid_number.rb
versionaire-3.1.0 lib/versionaire/errors/invalid_number.rb
versionaire-3.0.0 lib/versionaire/errors/invalid_number.rb
versionaire-2.2.0 lib/versionaire/errors/invalid_number.rb