Sign in Join
FPDoc Onlineexperiment

EMaskError.CreateFmt constructor

Member of EMaskErrorpublicIn unit Masks

Constructor for the class instance.

Declaration

pascal
constructor CreateFmt(const msg: string; args: Array of const; 
 aCode: TMaskExceptionCode)

Description

CreateFmt is an overridden constructor used to create an exception instance with the values specified in the msg and aCode arguments. It stores the value in ACode to the cCode member, and calls the inherited method.

msg is a String which contains a formatting specification using the notation allowed for the RTL Format routine. Values from the args parameter are substituted for the placeholders found in the msg argument.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.