MCPcopy
hub / github.com/TanStack/ai / errors

Method errors

packages/ai/src/logger/internal-logger.ts:105–107  ·  view source on GitHub ↗

* Log a caught error. Defaults to on even when `debug` is unspecified. * Uses the underlying logger's `error` level.

(message: string, meta?: Record<string, unknown>)

Source from the content-addressed store, hash-verified

103 * Uses the underlying logger's `error` level.
104 */
105 errors(message: string, meta?: Record<string, unknown>): void {
106 this.emit('error', 'errors', message, meta)
107 }
108
109 /** Log outgoing request metadata before an adapter SDK call. */
110 request(message: string, meta?: Record<string, unknown>): void {

Callers 15

chatStreamFunction · 0.80
structuredOutputFunction · 0.80
structuredOutputStreamFunction · 0.80
processStreamChunksFunction · 0.80
chatStreamFunction · 0.80
structuredOutputFunction · 0.80
structuredOutputStreamFunction · 0.80
processStreamChunksFunction · 0.80
createVideoJobMethod · 0.80
transcribeMethod · 0.80
generateImagesMethod · 0.80
editImagesMethod · 0.80

Calls 1

emitMethod · 0.95

Tested by

no test coverage detected