User Tools

Site Tools


syntax:errorpropagation

Error propagation

In order to simplify debugging expressions EasyMorph employs error propagation in expressions. It means if some part of an expression evaluates to an error, then this error becomes the result of the expression.

This rule applies to all operators and functions except a few:

Also these functions propagate errors only when 1st argument (the condition) is an error:

Also this function propagates errors only when 2nd argument is an error:

syntax/errorpropagation.txt · Last modified: 2016/09/21 03:27 by dmitry