Documentation

GetException

CApplicationException
CMain::GetException();

The method an [link= 6658335]CApplicationException[/link] class object containing the last exception. Non-static method.

See Also

Examples of use

<?
if(!$langs->Delete($del_id))
{
if($ex = $APPLICATION->GetException())
$strError = $ex->GetString(); }
?>


© «Bitrix24», 2001-2022
Up