Sha256: ff2bb100560d2005f2e903a35d2ae78a04770a933e58265b75a0da82cfc69e6d

Contents?: true

Size: 251 Bytes

Versions: 4

Compression:

Stored size: 251 Bytes

Contents

# frozen_string_literal: true

module Versionaire
  module Errors
    # Thrown when not using numbers.
    class InvalidNumber < Base
      def initialize message = "Major, minor, and patch must be a number."
        super
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
versionaire-8.2.0 lib/versionaire/errors/invalid_number.rb
versionaire-8.1.0 lib/versionaire/errors/invalid_number.rb
versionaire-8.0.1 lib/versionaire/errors/invalid_number.rb
versionaire-8.0.0 lib/versionaire/errors/invalid_number.rb