Sha256: 414d583f7c8f049258684078c8c9f22373718e869d81903a983b93d79008fa32

Contents?: true

Size: 245 Bytes

Versions: 6

Compression:

Stored size: 245 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(message)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
versionaire-9.4.0 lib/versionaire/errors/invalid_number.rb
versionaire-9.3.0 lib/versionaire/errors/invalid_number.rb
versionaire-9.2.2 lib/versionaire/errors/invalid_number.rb
versionaire-9.2.1 lib/versionaire/errors/invalid_number.rb
versionaire-9.2.0 lib/versionaire/errors/invalid_number.rb
versionaire-9.1.1 lib/versionaire/errors/invalid_number.rb