Error that signals an HTTP redirect from route logic.
Creates a new HttpRedirect error.
The URL to redirect to
HTTP status code (defaults to 302 for temporary redirect)
Optional
HTTP status code for the redirect (301, 302, etc.)
Static
Indicates whether the argument provided is a built-in Error instance or not.
Error that signals an HTTP redirect from route logic.