Class: Rack::IdempotencyKey::ConflictError
- Defined in:
- lib/rack/idempotency_key/error.rb
Overview
Error raised when a conflicting idempotent request is detected
Constant Summary collapse
- DEFAULT_MESSAGE =
"This request is already being processed. Please retry later."
Instance Method Summary collapse
-
#initialize(msg = DEFAULT_MESSAGE) ⇒ ConflictError
constructor
A new instance of ConflictError.
Constructor Details
#initialize(msg = DEFAULT_MESSAGE) ⇒ ConflictError
Returns a new instance of ConflictError.
12 13 14 |
# File 'lib/rack/idempotency_key/error.rb', line 12 def initialize(msg = DEFAULT_MESSAGE) super(msg) end |