PayloadTooLargeError
Defined in: src/core.ts:119
Thrown by WebhooksCore.publish when the payload exceeds the limit. Maps to 413.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new PayloadTooLargeError(size, limit): PayloadTooLargeError;Defined in: src/core.ts:120
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
size |
number |
limit |
number |
Returns
Section titled “Returns”PayloadTooLargeError
Overrides
Section titled “Overrides”Error.constructor