| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Raise a variant type cast error EVariantTypeCastError
Source position: variants.pp line 294
procedure VarCastErrorOle(  | 
const ASourceType: tvartype  | 
);  | 
ASourceType  | 
  | 
Source variant type  | 
VarCastError raises an EVariantTypeCastError exception. a description of the source type (aSourceType) is included in the error message.
  | 
Error raised when an invalid typecast is performed  | 
|
  | 
Raise a variant type cast error EVariantTypeCastError  |