Exception: HookBridge::ReplayLimitError

Inherits:
Error
  • Object
show all
Defined in:
lib/hookbridge/errors.rb

Overview

Raised when replay limit is exceeded (429)

Instance Attribute Summary

Attributes inherited from Error

#code, #request_id, #status_code

Instance Method Summary collapse

Constructor Details

#initialize(message = "Replay limit exceeded", **kwargs) ⇒ ReplayLimitError

Returns a new instance of ReplayLimitError.



56
57
58
# File 'lib/hookbridge/errors.rb', line 56

def initialize(message = "Replay limit exceeded", **kwargs)
  super(message, code: "REPLAY_LIMIT_EXCEEDED", status_code: 429, **kwargs)
end