FuncType - v1.4.1
    Preparing search index...

    Function serializeError

    • Project an arbitrary thrown value to the canonical SerializedError shape. Accepts both Error instances and non-Error throwables (strings, plain objects, etc.). Non-Error throwables get name: "NonErrorThrowable" and the best textual representation we can produce.

      Parameters

      • err: unknown

      Returns SerializedError