ON THIS PAGE:
Format
CatchError(Arg1 ,DefaultValue)
Returns
Returns the value of Arg1, unless an error occurs while evaluating it, in which case the value of Default is returned instead.
Inputs
Arg1: The argument being checked for errors and lack of samples or data.
Behaviour: Required
Dimension: Error, Collection, SingleValue, Matrix, MultiCollection
Valid data types: Null, Boolean, DateTime, Decimal, Integer, String, Duration, Error
DefaultValue: The value to be returned if an error occurs. Must be a constant.
Behaviour: Required
Dimension: SingleValue
Valid data types: Null, Boolean, DateTime, Decimal, Integer, String, Duration
Release History
- CatchError() 4.6.5
- Changed Arg1 parameter to support MultiCollection values.
- CatchError() 4.0
- Initial version