Skip to main content

Class: RpcCancelledError

Defined in: Extensions/ExtensionApiErrors.ts:102

The host or worker disposed the call before it resolved.

Extends

Constructors

Constructor

new RpcCancelledError(message, data?): RpcCancelledError

Defined in: Extensions/ExtensionApiErrors.ts:103

Parameters

message

string

data?

unknown

Returns

RpcCancelledError

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