[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Variants' (#rtl)

EVariantUnexpectedError

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

Exception raised during unexpected error

Declaration

Source position: variants.pp line 46

type EVariantUnexpectedError = class(EVariantError)

Inheritance

EVariantUnexpectedError

  

Exception raised during unexpected error

|

EVariantError

  

Variant error.

|

Exception

  

Base class of all exceptions.

|

TObject

Description

EVariantUnexpectedError is the exception raised when the VAR_UNEXPECTED error is encountered in VarResultCheck It can be raised manually by calling VarUnexpectedError.

See also

VarVarUnexpectedError

VarResultCheck

  

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