lib/on_strum/healthcheck/error/configuration/unknown_service.rb
# frozen_string_literal: true
module OnStrum
module Healthcheck
module Error
module Configuration
UnknownService = ::Class.new(::ArgumentError) do
def initialize(service_name, services_setter)
super("Unknown #{service_name} service name for #{services_setter}. You should define it in config.services firstly")
end
end
end
end
end
end