Class: Rack::IdempotencyKey::ConflictError

Inherits:
Error
  • Object
show all
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

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