Google\Cloud\Exception\ServiceException::__construct PHP Method

__construct() public method

Handle previous exceptions differently here.
public __construct ( string $message, integer $code = null, Exception $serviceException = null )
$message string
$code integer
$serviceException Exception
    public function __construct($message, $code = null, Exception $serviceException = null)
    {
        $this->serviceException = $serviceException;
        parent::__construct($message, $code);
    }