Lasso Soft Inc. > Home

[ failure_clear ]

Method

[failure_clear] clears the current failure code. When used within a [protect] + [handle] combination, code can be executed on a failure condition, then the failure cleared and the process continue.

  • Syntax
failure_clear

protect => {
	handle(error_code == 'error code') => {
		if (#tries > 0)
			failure_clear
			sleep(#sleeper)
		/if
	}
	'code here'
}
Examples

No examples found

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft