class AlligatorNoDBOrderFound extends AlligatorException

Class AlligatorNoDBOrderFound

Properties

protected int $statusCode from AlligatorException

Methods

JsonResponse
getResponse()

No description

__construct(int|string $statusCode = Response::HTTP_FAILED_DEPENDENCY, string $message = "No order found !", 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()

Return Value

JsonResponse

at line 33
__construct(int|string $statusCode = Response::HTTP_FAILED_DEPENDENCY, string $message = "No order found !", Exception $previous = null, array $headers = array(), int $code = 0)

Parameters

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

at line 46
array getHeaders()

Return Value

array

at line 56
int getStatusCode()

Returns the status code.

Return Value

int An HTTP response status code