PHP Class Phprest\Entity\Error

Mostrar archivo Open project: phprest/phprest Class Usage Examples

Protected Properties

Property Type Description
$code integer
$details array
$message string

Public Methods

Method Description
__construct ( Exception $exception )
getCode ( ) : integer
getDetails ( ) : array
getMessage ( ) : string

Method Details

__construct() public method

public __construct ( Exception $exception )
$exception Exception

getCode() public method

public getCode ( ) : integer
return integer

getDetails() public method

public getDetails ( ) : array
return array

getMessage() public method

public getMessage ( ) : string
return string

Property Details

$code protected_oe property

protected int $code
return integer

$details protected_oe property

protected array $details
return array

$message protected_oe property

protected string $message
return string