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
I would like to preserve some error messages so that the message can be used in the client. This can be done with custom Error classes with a field skipReactRouterSanitize
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Right now all server error messages are sanitized here:
react-router/packages/react-router/lib/server-runtime/errors.ts
Line 48 in b4c3d7c
I would like to preserve some error messages so that the message can be used in the client. This can be done with custom Error classes with a field
skipReactRouterSanitizeBeta Was this translation helpful? Give feedback.
All reactions