lib/on_strum/healthcheck/error/configuration/enpoint_pattern.rb
# frozen_string_literal: true
module OnStrum
module Healthcheck
module Error
module Configuration
EnpointPattern = ::Class.new(::ArgumentError) do
def initialize(arg_value, arg_name)
super("#{arg_value} does not match a valid enpoint pattern for #{arg_name}")
end
end
end
end
end
end