Sha256: aa6ff02f9a901ad2c1165d47b14ad5cda974d26da68380b2073ec04a8971f3f3
Contents?: true
Size: 362 Bytes
Versions: 1
Compression:
Stored size: 362 Bytes
Contents
# frozen_string_literal: true module HealthcheckEndpoint 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
healthcheck_endpoint-1.0.0 | lib/healthcheck_endpoint/error/configuration/http_status_success.rb |