MCPcopy
hub / github.com/4ian/GDevelop / fatalError

Function fatalError

GDevelop.js/update-bindings.js:191–195  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

189}
190
191function fatalError(error) {
192 if (error.message) console.error(error.message);
193 if (error.output) console.log(error.output);
194 process.exit(1);
195}

Callers 1

update-bindings.jsFile · 0.85

Calls 2

errorMethod · 0.65
logMethod · 0.65

Tested by

no test coverage detected