UserAnonymousException
class UserAnonymousException extends AlligatorException
Exception thrown when user doesn't have permission to do specific action
Class UserAnonymousException
Properties
| protected int | $statusCode | from AlligatorException |
Methods
__construct(int|string $statusCode = 507, string $message = 'Login to add to cart!', 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 32
__construct(int|string $statusCode = 507, string $message = 'Login to add to cart!', Exception $previous = null, array $headers = array(), int $code = 0)
at line 45
array
getHeaders()
at line 55
int
getStatusCode()
Returns the status code.