Sign in Join
FPDoc Onlineexperiment

ESQLDatabaseError.CreateFmt constructor

Member of ESQLDatabaseErrorpublicIn unit SQLDB

Create a new instance of ESQLDatabaseError.

Declaration

pascal
constructor CreateFmt(const Fmt: string; const Args: Array of const; 
 Comp: TComponent; AErrorCode: Integer; 
 const ASQLState: string); overload

Arguments

Fmt

Format string.

Args

Arguments for format string.

Comp

Component raising the error.

AErrorCode

Native client error code.

ASQLState

Native client SQL reported state.

Description

CreateFmt is overloaded in ESQLDatabaseError to be able to specify the ErrorCode and SQLState.

See also

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