When to use
Use this method when catching errors from failed LLM calls, feeding in your your error object and other additional metadata.Usage
Function Parameters
Response
The
logError
method will return a Promise
that resolves to an object with the following fields:Whether or not the log was successful.