Exception: RailsWebhookOutbox::PayloadSizeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rails_webhook_outbox/payload_size_error.rb

Instance Method Summary collapse

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