MCPcopy
hub / github.com/omkarcloud/botasaurus / formatExc

Function formatExc

js/botasaurus-js/src/utils.ts:63–65  ·  view source on GitHub ↗
(error: any)

Source from the content-addressed store, hash-verified

61 });
62}
63export function formatExc(error: any): any {
64 return error.stack || error.toString()
65}
66
67export function printExc(error: any): void {
68 console.error(formatExc(error))

Callers 4

runTaskFunction · 0.90
runPlaywrightFunction · 0.90
runTaskMethod · 0.90
printExcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected