MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / failure

Method failure

daemon/src/entity/instance/instance.ts:374–378  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

372 // If the instance performs any operation exception, it must throw an exception through this function
373 // trigger failure event
374 failure(error: Error) {
375 this.emit("failure", error);
376 this.println("ERROR", error.message ?? String(error));
377 throw error;
378 }
379
380 // function that must be executed after the instance has been closed
381 // trigger exit event

Callers 7

execFunction · 0.80
execMethod · 0.80
execMethod · 0.80
execMethod · 0.80
execMethod · 0.80
execMethod · 0.80
createProcessMethod · 0.80

Calls 2

printlnMethod · 0.95
emitMethod · 0.80

Tested by

no test coverage detected