Sign in Join
FPDoc Onlineexperiment

EMaskError class

In unit Masks

Exception raised for an invalid character in TMask.

Declaration

pascal
EMaskError = class(EConvertError)

Inheritance

  1. EMaskError
  2. EConvertError

Description

EMaskError is a EConvertError descendant representing the exception raised when an invalid character is found in a mask expression, or when an invalid value is assigned to properties in a mask class instances. EMaskError is the exception type raised in TMaskBase methods like:

  • Exception_InvalidCharMask
  • Exception_MissingCloseChar
  • Exception_IncompleteMask
  • Exception_InvalidEscapeChar
  • Exception_InternalError

See also

Properties

CodepublicProvides access to the mask exception code for the exception instance.

Methods

CreatepublicConstructor for the class instance.
CreateFmtpublicConstructor for the class instance.

Fields

FCodeprotectedMember with the mask exception code for an exception instance.

Types and constants

TMaskExceptionCodepublicEnumeration with values identifiers representing mask exception codes.

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