You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
beforeLoad throwing non-Error value returns empty SSR response instead of rendering error component #7498
Throwing a non-Error value from route’s beforeLoad during SSR does not render the configured error component. Instead, it returns an empty 200 HTML response.
I work with ReScript and for expected errors, I throw error variant, so I could match against it in the error component. Variant is represented as JS string at runtime, and throwing string results in the described issue.
Activity