obstools/healthcheck-endpoint

View on GitHub
lib/healthcheck_endpoint/error/configuration/not_configured.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

module HealthcheckEndpoint
  module Error
    module Configuration
      NotConfigured = ::Class.new(::RuntimeError) do
        def initialize
          super('The configuration is empty. Please use HealthcheckEndpoint.configure before')
        end
      end
    end
  end
end