function ExceptionParam: string;
procedure OnMapEvent(var Value:Variant);
begin
try
Value := 1/0;
except
LogError('Exception occurred: ' + ExceptionToString(ExceptionType, ExceptionParam));
end;
end;
Returns an exception parameter string that is used in See "ExceptionToString" and See "RaiseException" functions.