Skip to content

Flow documentation · legacy product

ExceptionPos ​

Declaration ​

function ExceptionPos: Cardinal;

Example ​

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

Description ​

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