abstract class AlligatorCheckOutStepException extends AlligatorCheckOutException implements HttpExceptionInterface

Superclass of all exceptions thrown on one-step-checkout

Class AlligatorCheckOutStepException

Properties

protected int $statusCode from AlligatorException
protected array $headers
protected RedirectResponse $redirectResponse

Methods

JsonResponse
getResponse()

No description

__construct(int|string $statusCode = Response::HTTP_FAILED_DEPENDENCY, string $message = 'You can not go to this step', Exception $previous = null, array $headers = array(), int $code = 0, RedirectResponse $redirectResponse = null)

No description

array
getHeaders()

No description

int
getStatusCode()

Returns the status code.

setRedirectResponse(RedirectResponse $redirectResponse)

No description

Details

at line 75
JsonResponse getResponse()

Return Value

JsonResponse

at line 42
__construct(int|string $statusCode = Response::HTTP_FAILED_DEPENDENCY, string $message = 'You can not go to this step', Exception $previous = null, array $headers = array(), int $code = 0, RedirectResponse $redirectResponse = null)

Parameters

int|string $statusCode
string $message
Exception $previous
array $headers
int $code
RedirectResponse $redirectResponse

at line 57
array getHeaders()

Return Value

array

at line 67
int getStatusCode()

Returns the status code.

Return Value

int An HTTP response status code

at line 85
AlligatorCheckOutStepException setRedirectResponse(RedirectResponse $redirectResponse)

Parameters

RedirectResponse $redirectResponse

Return Value

AlligatorCheckOutStepException