Sign in Join
FPDoc Onlineexperiment

TStrings.Error procedure

Member of TStringsprotectedIn unit Classes

Raises an EStringListError exception.

Declaration

pascal
procedure Error(const Msg: string; Data: Integer)
procedure Error(const Msg: PString; Data: Integer)

Description

Error raises an EStringListError exception. It passes Msg as a format with Data as the only argument.

This method can be used by descendant objects to raise an error.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.