A file the REPL was asked to preload would not compile.
Separate from the run pipeline's bundle error because the consequence differs: a run has nothing
to do without its bundle, while a REPL could in principle still open. It does not — a prompt
whose import silently did not happen is worse than one that refuses to start.
import { PreloadBuildFailed } from './session.ts'; const failure = PreloadBuildFailed({ detail: 'test/helpers.ts:3:8: ERROR: Expected ")"' }); failure.data.detail.includes('ERROR'); // true — esbuild's own message, verbatim
Failure.FailureFactory<"PreloadBuildFailed", { detail: string; }>