[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Variants' (#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 36

type EVariantTypeCastError = class(EVariantError)

Inheritance

EVariantTypeCastError

  

Error raised when an invalid typecast is performed

|

EVariantError

  

Variant error.

|

Exception

  

Base class of all exceptions.

|

TObject

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: Jun 22 2020