FuncType - v0.8.85
    Preparing search index...

    Function createErrorSerializer

    • Create a serializer function for Pino or other JSON loggers to better represent errors with their full context

      Returns (err: unknown) => unknown