Skip to content

error

error(...params: unknown[]): void

Represents failures or exceptions that occurred during program execution.

zylog.error('Database connection failed', err);