Function executeSynthesizerMiddlewareOneByOne

Executes a series of transmuters on an error, one by one, until an error is transmuted into a SynthesizedError.

  • Parameters

    • err: unknown

      The error to process.

    • transmuters: Transmuter<any>[]

      The array of transmuters to execute.

    Returns unknown

    The final processed error.