Tinderbox v9 Icon

failed()


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Function   [other Function type actions]

 Item   [operators of similar scope]

 Stream parsing   [other Stream parsing operators]

 9.1.0

 


failed()

This tests for a failed Stream processing action Stream.try{}, including an explicit fail() call. Thus, to test for a failed result:

if(failed()){ // code } 

A failed() flag is reset when the current try{} expires, or when the current action is complete.