Skip to content

VarRangeCheckError

Raise an EVariantOverflowError error.

Declaration

Source position: variants.pp line 316

procedure VarRangeCheckError(const AType: tvartype);
procedure VarRangeCheckError(const ASourceType: tvartype; 
                            const ADestType: tvartype);

Description

VarRangeCheckError raises an EVariantOverflowError exception with a standard error message. A description of the type AType is included in the error message, similarly if a ASourceType and aDestType source and destination types are provided.

See also

Name Description
EVariantOverflowError Error raised when an overflow error is detected.
VarOverflowError Raise an EVariantOverflowError error.
VarInvalidNullOp Raise an EVariantInvalidOpError error.
VarInvalidOp Raise a EVariantInvalidOpError error.
VarBadIndexError Raise an EVariantBadIndexError error.
VarArrayLockedError Raise an EVariantArrayLockedError error.