MCPcopy Create free account
hub / github.com/appium/appium / errorWithException

Function errorWithException

packages/support/lib/logging.ts:39–42  ·  view source on GitHub ↗
(...args: any[])

Source from the content-addressed store, hash-verified

37 levels: [...LEVELS],
38 prefix: prefix ?? undefined,
39 errorWithException(...args: any[]) {
40 this.error(...args);
41 return args[0] instanceof Error ? args[0] : new Error(args.join('\n'));
42 },
43 updateAsyncContext(contextInfo: AppiumLoggerContext, replace = false) {
44 this.unwrap().updateAsyncStorage?.(contextInfo, replace);
45 },

Callers

nothing calls this directly

Calls 1

errorMethod · 0.65

Tested by

no test coverage detected