Sha256: 56fbdde0e4cd688c804141402bf5eecc40caf8181e5ed0a4444dd75268a294b7

Contents?: true

Size: 327 Bytes

Versions: 3

Compression:

Stored size: 327 Bytes

Contents

# frozen_string_literal: true

module OnStrum
  module Healthcheck
    module Error
      module Configuration
        ArgumentType = ::Class.new(::ArgumentError) do
          def initialize(arg_value, arg_name)
            super("#{arg_value} is not a valid #{arg_name}")
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
on_strum-healthcheck-0.3.0 lib/on_strum/healthcheck/error/configuration/argument_type.rb
on_strum-healthcheck-0.2.0 lib/on_strum/healthcheck/error/configuration/argument_type.rb
on_strum-healthcheck-0.1.0 lib/on_strum/healthcheck/error/configuration/argument_type.rb