FuncType - v1.4.1
    Preparing search index...

    Function deserializeError

    • Reconstruct an Error from a SerializedError. The reconstructed Error has the same name, message, stack, and cause chain as the original, but its prototype is always Error.prototype — subclass identity does not round-trip.

      A string is accepted as a shorthand for {name: "Error", message: <string>}, matching what serializeCause emits when a cause was a bare string.

      Parameters

      Returns Error