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 ​
Returns ​
ProcessorBundleRefusedError
Overrides ​
Error.constructor
Properties ​
cause? ​
optionalcause?: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? ​
readonlyoptionalidentity?:string
Defined in: packages/browser/src/processorBundle.ts:287
location ​
readonlylocation: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 ​
readonlyreason:ProcessorBundleRefusalReason
Defined in: packages/browser/src/processorBundle.ts:285
stack? ​
optionalstack?:string
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from ​
Error.stack
unresolvedImports? ​
readonlyoptionalunresolvedImports?: readonlystring[]
Defined in: packages/browser/src/processorBundle.ts:288
violations? ​
readonlyoptionalviolations?: readonlyProcessorBundlePolicyViolation[]
Defined in: packages/browser/src/processorBundle.ts:289
Methods ​
isError() ​
staticisError(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