Class: ResponseSizeTooLargeError¶
An error that will be thrown by Fetcher.fetch when the response body from the external system exceeds packs platform limits
This error can be caught and retried by requesting less data from the external system through a smaller page size or omitting large fields.
Extends¶
Error
Properties¶
name¶
name:
string='ResponseSizeTooLargeError'
The name of the error, for identification purposes.
Overrides¶
Error.name
Methods¶
isResponseSizeTooLargeError()¶
staticisResponseSizeTooLargeError(err):err is ResponseSizeTooLargeError
Returns if the error is an instance of ResponseSizeTooLargeError. Note that instanceof may not work.
Parameters¶
| Parameter | Type |
|---|---|
err |
any |
Returns¶
err is ResponseSizeTooLargeError