$ERR_INVCAST

617

Invalid cast operation info

The type used to cast a variable is not the class or an ancestor class of the object stored in the variable, or it does not have an explicit conversion operator.