PgDAC
Holds the line number of the source-code location where an error has occered.
EPgError
property LineNumber: integer;
The LineNumber property holds the line number of the source-code location.