on-strum/ruby-on-strum-healthcheck

View on GitHub
lib/on_strum/healthcheck/error/configuration/not_configured.rb

Summary

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

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