Sha256: 7e7a7ead01a5792271539645f57486326ccd7ceaeb3ecff239b2bf714d5c2329

Contents?: true

Size: 395 Bytes

Versions: 4

Compression:

Stored size: 395 Bytes

Contents

# frozen_string_literal: true

module ConvenientService
  module Utils
    module Array
      module Exceptions
        class NonIntegerIndex < ::ConvenientService::Exception
          def initialize(index:)
            message = <<~TEXT
              Index `#{index.inspect}` is NOT an integer.
            TEXT

            super(message)
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
convenient_service-0.16.0 lib/convenient_service/utils/array/exceptions.rb
convenient_service-0.15.0 lib/convenient_service/utils/array/exceptions.rb
convenient_service-0.14.0 lib/convenient_service/utils/array/exceptions.rb
convenient_service-0.13.0 lib/convenient_service/utils/array/exceptions.rb