MCPcopy Index your code
hub / github.com/deepnote/deepnote / createErrorOutput

Function createErrorOutput

packages/runtime-core/src/execution-engine.ts:46–53  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

44export const executableBlockTypeSet: ReadonlySet<string> = new Set(executableBlockTypes)
45
46function createErrorOutput(error: Error): IOutput {
47 return {
48 output_type: 'error',
49 ename: error.name || 'Error',
50 evalue: error.message,
51 traceback: [],
52 }
53}
54
55export interface ExecutionOptions {
56 /** Run only the specified notebook (by name) */

Callers 2

runProjectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected