AlligatorQtyException
class AlligatorQtyException extends AlligatorCheckOutException implements HttpExceptionInterface
Exception thrown when there are not enough items for order
Class AlligatorQtyException
Properties
| protected int | $statusCode | from AlligatorException |
Methods
__construct(int $statusCode = Response::HTTP_FAILED_DEPENDENCY, string $message = "Not enough items in stock.", Exception $previous = null, array $headers = array(), int $code = 0)
No description
array
getHeaders()
No description
int
getStatusCode()
Returns the status code.
Details
in AlligatorException at line 28
JsonResponse
getResponse()
at line 35
__construct(int $statusCode = Response::HTTP_FAILED_DEPENDENCY, string $message = "Not enough items in stock.", Exception $previous = null, array $headers = array(), int $code = 0)
at line 48
array
getHeaders()
at line 58
int
getStatusCode()
Returns the status code.