Following are the internal defined error types for the EvaluationValue class, used while implementing a user-defined function:
None.
ExceedDecimalRange, occurs when the value of the operand exceeds the defined decimal data range.
ExceedDoubleRange, occurs when the value of the operand exceeds the defined double data range.
DividedByZero.
CalculatorIsNotDefined, occurs when the calculator for an operand is not defined.
For example, when the expression is .
<<DateTimeValue>> + <<DoubleValue>>
OperandFormatIsIncorrect, occurs when the operand in the expression is not correct.
OperandCountIsIncorrect, occurs when the count of operands for an operator is not correct.
ParameterFormatIsIncorrect, occurs when the format of the parameters for the function, including type, is not correct.
ParameterCountIsIncorrect, occurs when the count of the parameters for the function is not correct.
ParameterValueOutOfRange, occurs when the specified value of the parameters is out of the expected range.
For example, when the expression is
Substring(“123”, 5, 5)