Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mint-tsdocs.saulo.engineer/llms.txt

Use this file to discover all available pages before exploring further.

toJSON

Summary

Converts the error object into a JSON-serializable format, suitable for logging or transmission.

Signature

toJSON(): Record<string, unknown>;

Parameters

This method takes no parameters.

Returns

Type:Record<string, unknown> Converts the error object into a JSON-serializable format, suitable for logging or transmission.