On this pageMedusaErrorHandlerFunction Type declaration Parameters erroranyRequiredreqMedusaRequestRequiredresMedusaResponseRequirednextMedusaNextFunctionRequired Returns Promise<void> \| voidPromise<void> | voidWas this section helpful?YesNoReport Issue