AlligatorRedirectException
class AlligatorRedirectException extends AlligatorException
Exception thrown when there is an error and user should be redirected to new page
Class AlligatorRedirectException
Properties
| protected int | $statusCode | from AlligatorException |
Methods
__construct(RedirectResponse $redirectResponse, string $message = "", int $statusCode = Response::HTTP_PERMANENTLY_REDIRECT, Exception $previous = null, array $headers = array(), int $code = 304)
AlligatorRedirectException constructor.
RedirectResponse
getRedirectResponse()
No description
array
getHeaders()
No description
int
getStatusCode()
Returns the status code.
Details
in AlligatorException at line 28
JsonResponse
getResponse()
at line 39
__construct(RedirectResponse $redirectResponse, string $message = "", int $statusCode = Response::HTTP_PERMANENTLY_REDIRECT, Exception $previous = null, array $headers = array(), int $code = 304)
AlligatorRedirectException constructor.
at line 50
RedirectResponse
getRedirectResponse()
at line 58
array
getHeaders()
at line 68
int
getStatusCode()
Returns the status code.