MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / describeError

Function describeError

scripts/studio-host-provider.mjs:733–740  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

731}
732
733function describeError(error) {
734 if (error instanceof Error) {
735 return error.cause instanceof Error
736 ? `${error.message}: ${error.cause.message}`
737 : error.message;
738 }
739 return String(error);
740}
741
742function sleep(ms) {
743 return new Promise((resolve) => setTimeout(resolve, ms));

Callers 8

statusFunction · 0.70
runFunction · 0.70
heartbeatFunction · 0.70
pollJobFunction · 0.70
allocateSessionFunction · 0.70
pollRpcFunction · 0.70
handleRpcFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected