Unit 'Variants' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

VarCastErrorOle

Raise a variant type cast error EVariantTypeCastError.

Declaration

Source position: variants.pp line 294

procedure VarCastErrorOle(

  const ASourceType: tvartype

);

Arguments

ASourceType

  

Source variant type.

Description

VarCastError raises an EVariantTypeCastError exception. a description of the source type (aSourceType) is included in the error message.

See also

EVariantTypeCastError

  

Error raised when an invalid typecast is performed.

VarCastError

  

Raise a variant type cast error EVariantTypeCastError.


Documentation generated on: Jul 24 2023