Skip to main content

Class: NetworkHostNotAllowedError

Defined in: Extensions/ExtensionApiErrors.ts:53

URL host not in the manifest allowlist.

Extends

Constructors

Constructor

new NetworkHostNotAllowedError(message, data?): NetworkHostNotAllowedError

Defined in: Extensions/ExtensionApiErrors.ts:54

Parameters

message

string

data?

unknown

Returns

NetworkHostNotAllowedError

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