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

EVariantTypeCastError

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Error raised when an invalid typecast is performed.

Declaration

Source position: variants.pp line 43

type EVariantTypeCastError = class(EVariantError)

Inheritance

EVariantTypeCastError

  

Error raised when an invalid typecast is performed.

|

EVariantError

  

Variant error.

|

Exception

  

Base class of all exceptions.

|

TObject

  

Base class of all classes.

Description

EVariantTypeCastError is the exception raised when the VAR_TYPEMISMATCH error is encountered in VarResultCheck

See also

VarResultCheck

  

Check the result of an operation and raise exception if not OK.


Documentation generated on: Oct 27 2024