Documentation / @etherfold/browser / RefusedProcessorBundle
Type Alias: RefusedProcessorBundle ​
RefusedProcessorBundle = {
location:string;reason:"unreachable";status:"refused";why:string; } | {identity:string;location:string;reason:"not-self-contained";status:"refused";unresolvedImports: readonlystring[];why:string; } | {identity:string;location:string;reason:"unreadable-module"|"not-a-processor";status:"refused";why:string; } | {identity:string;location:string;reason:"forbidden-by-policy";status:"refused";violations: readonlyProcessorBundlePolicyViolation[];why:string; }
Defined in: packages/browser/src/processorBundle.ts:129
THE BUNDLE ARRIVAL: run the processor bundle a build PUBLISHED, named by the SHA-256 of the bytes this tab fetched and runs (ADR-0095) -- the browser counterpart of loadProcessorArtifact. A host takes it as BrowserGenerationSpec.processorBundle; loadProcessorBundle is the same load for an app that drives it itself.
Union Members ​
Type Literal ​
{ location: string; reason: "unreachable"; status: "refused"; why: string; }
Type Literal ​
{ identity: string; location: string; reason: "not-self-contained"; status: "refused"; unresolvedImports: readonly string[]; why: string; }
identity ​
readonlyidentity:string
location ​
readonlylocation:string
reason ​
readonlyreason:"not-self-contained"
status ​
readonlystatus:"refused"
unresolvedImports ​
readonlyunresolvedImports: readonlystring[]
Every module this bundle still names. In a browser none of them resolves.
why ​
readonlywhy:string
Type Literal ​
{ identity: string; location: string; reason: "unreadable-module" | "not-a-processor"; status: "refused"; why: string; }
Type Literal ​
{ identity: string; location: string; reason: "forbidden-by-policy"; status: "refused"; violations: readonly ProcessorBundlePolicyViolation[]; why: string; }
identity ​
readonlyidentity:string
location ​
readonlylocation:string
reason ​
readonlyreason:"forbidden-by-policy"
status ​
readonlystatus:"refused"
violations ​
readonlyviolations: readonlyProcessorBundlePolicyViolation[]
What the context reported about each refusal, where it reported anything.
why ​
readonlywhy:string