try { myRuntimeEndpoint(myRequest);} catch (error){ if(error instanceOf UnexpectedRuntimeResponse) { console.error("The Runtime answered an unexpected message, please contact our desk support",error) } else { console.error("another type of error",error) }} Copy
try { myRuntimeEndpoint(myRequest);} catch (error){ if(error instanceOf UnexpectedRuntimeResponse) { console.error("The Runtime answered an unexpected message, please contact our desk support",error) } else { console.error("another type of error",error) }}
Optional
Static
Optional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Create .stack property on a target object