class ExceptionCodes

Class ExceptionCodes. Contains error code based on exception that has been thrown in Advanced converter

Constants

CODES

Array of corresponding exception classes and http codes

Methods

static mixed
getCode(Exception $exception)

Retrieve http code for provided exception

Details

at line 35
static mixed getCode(Exception $exception)

Retrieve http code for provided exception

Parameters

Exception $exception

Return Value

mixed