#How do I render a server error as a react component?

2 messages · Page 1 of 1 (latest)

terse harbor
#

I have an admin middleware that will prevent the user from accessing a restricted route, but I haven't figured out how to display the error message to the user with a react component.

#

I have tried the errorComponent property but that seems to only handle client errors