Sha256: 7650e22dde337fd20fd58ee378b8f210d4daae2cc91e37edfca9a6dab7acc1d4

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

# frozen_string_literal: true

module HealthcheckEndpoint
  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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
healthcheck_endpoint-1.0.0 lib/healthcheck_endpoint/error/configuration/argument_type.rb