Version:
type

ErrorLogFunction

A function that logs an error with optional structured data

typescript
type ErrorLogFunction = (error: Error, data: object) => void

Was this page helpful?