Documentation

GetString

string
CApplicationException::GetString()

The method returns the description of exception. Non-static method.

Parameters


No parameters.

See Also

Examples of use

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


© «Bitrix24», 2001-2024
Up