error
Signature
Section titled “Signature”error(...params: unknown[]): voidDescription
Section titled “Description”Represents failures or exceptions that occurred during program execution.
Example
Section titled “Example”zylog.error('Database connection failed', err);