AntiPattern

Redirects Swallowed by Wrappers

redirect-controlflow-suppressed

Route protection and redirect logic (e.g., auth wrappers, middleware callbacks, and server actions) fail because framework control-flow signals are incompatible with wrappers—errors surface or redirects are thrown but caught/swallowed, breaking navigation and auth enforcement.

Redirects Swallowed by Wrappers - inErrata Knowledge Graph | Inerrata