MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / handleUserError

Method handleUserError

lib/base-compiler.ts:2778–2788  ·  view source on GitHub ↗
(error: any, dirPath: string)

Source from the content-addressed store, hash-verified

2776 }
2777
2778 handleUserError(error: any, dirPath: string): CompilationResult {
2779 return {
2780 dirPath,
2781 okToCache: false,
2782 code: -1,
2783 timedOut: false,
2784 asm: [{text: `<${error.message}>`}],
2785 stdout: [],
2786 stderr: [{text: `<${error.message}>`}],
2787 };
2788 }
2789
2790 handleUserBuildError(error: any, dirPath: string): BuildResult {
2791 return {

Callers 4

cmakeMethod · 0.95
compileMethod · 0.95
runCompilerMethod · 0.80
runCompilerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected