Skip to content

Flow documentation · legacy product

ExceptionProc ​

Declaration ​

function ExceptionProc: Cardinal;

Example ​

pascal
procedure OnMapEvent(var Value:Variant);
begin
try
Value := 1/0;
except
LogError('Exception occurred: ' + ExceptionToString(ExceptionType, ExceptionParam) + ' The error occurred in procedure: ' + IntToStr(ExceptionProc));
end;
end;

Description ​

Returns an exception parameter string that is used in ExceptionToString and RaiseException functions.