Sha256: 1c41cffe36a717ae35bb574160630cbf69c45ebb8cbcfa99c0684de78560d77f

Contents?: true

Size: 392 Bytes

Versions: 3

Compression:

Stored size: 392 Bytes

Contents

# frozen_string_literal: true

module OnStrum
  module Healthcheck
    module Error
      module Configuration
        HttpStatusFailure = ::Class.new(::ArgumentError) do
          def initialize(arg_value, arg_name)
            super("Status #{arg_value} is wrong HTTP failure status for #{arg_name}. It should be in the range 500-511")
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
on_strum-healthcheck-0.3.0 lib/on_strum/healthcheck/error/configuration/http_status_failure.rb
on_strum-healthcheck-0.2.0 lib/on_strum/healthcheck/error/configuration/http_status_failure.rb
on_strum-healthcheck-0.1.0 lib/on_strum/healthcheck/error/configuration/http_status_failure.rb