CDISP0044E

The conditional expression contains a type mismatch. The type of the then-branch, which is left type, must be the same as the type of the else-branch, which is right type.

The types of the left and right operands of a conditional operator must be the same.
Ensure that the types are identical.