Sha256: f2189545b6c54243c1cfd967e836d164b1edc575ac9d67e6a392e390c960e314

Contents?: true

Size: 395 Bytes

Versions: 3

Compression:

Stored size: 395 Bytes

Contents

# frozen_string_literal: true

module OnStrum
  module Healthcheck
    module Error
      module Configuration
        HttpStatusSuccess = ::Class.new(::ArgumentError) do
          def initialize(arg_value, arg_name)
            super("Status #{arg_value} is wrong HTTP successful status for #{arg_name}. It should be in the range 200-226")
          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_success.rb
on_strum-healthcheck-0.2.0 lib/on_strum/healthcheck/error/configuration/http_status_success.rb
on_strum-healthcheck-0.1.0 lib/on_strum/healthcheck/error/configuration/http_status_success.rb