Skip to content

Documentation / @etherfold/browser / ProcessorBundleRefusedError

Class: ProcessorBundleRefusedError ​

Defined in: packages/browser/src/processorBundle.ts:284

A REFUSED BUNDLE, AS A HOST RAISES IT: the refusal's own fields on an Error whose name a tab narrows on, since a failure crosses a port by name and by its own enumerable fields (PortError).

A host raises this where it was given a processorBundle and the load was refused, BEFORE it builds the generation's state, so a refused bundle claims no store and folds nothing.

Extends ​

  • Error

Constructors ​

Constructor ​

new ProcessorBundleRefusedError(refusal): ProcessorBundleRefusedError

Defined in: packages/browser/src/processorBundle.ts:291

Parameters ​

refusal ​

RefusedProcessorBundle

Returns ​

ProcessorBundleRefusedError

Overrides ​

Error.constructor

Properties ​

cause? ​

optional cause?: unknown

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts:24

Inherited from ​

Error.cause


identity? ​

readonly optional identity?: string

Defined in: packages/browser/src/processorBundle.ts:287


location ​

readonly location: string

Defined in: packages/browser/src/processorBundle.ts:286


message ​

message: string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1075

Inherited from ​

Error.message


name ​

name: string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1074

Inherited from ​

Error.name


reason ​

readonly reason: ProcessorBundleRefusalReason

Defined in: packages/browser/src/processorBundle.ts:285


stack? ​

optional stack?: string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1076

Inherited from ​

Error.stack


unresolvedImports? ​

readonly optional unresolvedImports?: readonly string[]

Defined in: packages/browser/src/processorBundle.ts:288


violations? ​

readonly optional violations?: readonly ProcessorBundlePolicyViolation[]

Defined in: packages/browser/src/processorBundle.ts:289

Methods ​

isError() ​

static isError(error): error is Error

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.esnext.error.d.ts:21

Indicates whether the argument provided is a built-in Error instance or not.

Parameters ​

error ​

unknown

Returns ​

error is Error

Inherited from ​

Error.isError