Skip to main content

Class: ResponseTooLargeError

Defined in: Extensions/ExtensionApiErrors.ts:60

Network response exceeded maxResponseBytes.

Extends

Constructors

Constructor

new ResponseTooLargeError(message, data?): ResponseTooLargeError

Defined in: Extensions/ExtensionApiErrors.ts:61

Parameters

message

string

data?

unknown

Returns

ResponseTooLargeError

Overrides

ExtensionApiError.constructor

Properties

code

readonly code: "PermissionDeniedError" | "NetworkHostNotAllowedError" | "ResponseTooLargeError" | "QuotaExceededError" | "ApiExportNotFoundError" | "ProviderNotRegisteredError" | "RpcProtocolError" | "RpcTimeoutError" | "RpcCancelledError" | "ExtensionNotActiveError" | "SettingRequiredError" | "IncompatibleApiVersionError" | "MethodRemovedError"

Defined in: Extensions/ExtensionApiErrors.ts:28

Inherited from

ExtensionApiError.code


data?

readonly optional data?: unknown

Defined in: Extensions/ExtensionApiErrors.ts:30

Optional structured detail attached to the error.

Inherited from

ExtensionApiError.data