Documentation
    Preparing search index...
    • Serializes an error into a string.

      Parameters

      • error: Error & { toString?: () => string }

        The error to stringify.

      Returns string

      A string representing the error.