class NoProductPermissionException extends AlligatorSecurityException implements HttpExceptionInterface

Class NoProductPermissionException

Constants

ALLIGATOR_NO_PERMISSION

Default http code for no product permission exception

Properties

protected int $statusCode from AlligatorException

Methods

JsonResponse
getResponse()

No description

__construct(int $statusCode = self::ALLIGATOR_NO_PERMISSION, string $message = "You have no permission to edit this product", Exception $previous = null, array $headers = array(), int $code = 0)

No description

string
getStatusCode()

No description

array
getHeaders()

No description

Details

in AlligatorException at line 28
JsonResponse getResponse()

Return Value

JsonResponse

at line 37
__construct(int $statusCode = self::ALLIGATOR_NO_PERMISSION, string $message = "You have no permission to edit this product", Exception $previous = null, array $headers = array(), int $code = 0)

Parameters

int $statusCode
string $message
Exception $previous
array $headers
int $code

at line 50
string getStatusCode()

Return Value

string

at line 58
array getHeaders()

Return Value

array