Home > @opengovsg/logging > LogInput > error
LogInput.error property
The error to shape and attach as the error field. Any thrown value is accepted and normalised. Only valid on warn / error.
Signature:
typescript
error?: unknown;