Exception: RailsWebhookOutbox::PayloadSizeError
- Inherits:
-
StandardError
- Object
- StandardError
- RailsWebhookOutbox::PayloadSizeError
- Defined in:
- lib/rails_webhook_outbox/payload_size_error.rb
Instance Method Summary collapse
-
#initialize(size, max) ⇒ PayloadSizeError
constructor
A new instance of PayloadSizeError.
Constructor Details
#initialize(size, max) ⇒ PayloadSizeError
Returns a new instance of PayloadSizeError.
3 4 5 |
# File 'lib/rails_webhook_outbox/payload_size_error.rb', line 3 def initialize(size, max) super("Payload too large: #{size} bytes exceeds the #{max}-byte limit") end |