Skip to content

VarInvalidArgError

Raise an EVariantInvalidArgError error

Declaration

Source position: variants.pp line 306

  procedure VarInvalidArgError;
  procedure VarInvalidArgError(AType: tvartype);

Description

VarInvalidArgError raises an EVariantInvalidArgError exception with a standard error message. If the AType argument is specified, a description of the argument type is included in the error message.

See also

Name Description
EVariantInvalidArgError Error raised when an invalid argument is detected
VarArrayLockedError Raise an EVariantArrayLockedError error
VarBadIndexError Raise an EVariantBadIndexError error
VarInvalidNullOp Raise an EVariantInvalidOpError error
VarInvalidOp Raise a EVariantInvalidOpError error