[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.
failure_clear
protect => {
handle(error_code == 'error code') => {
if (#tries > 0)
failure_clear
sleep(#sleeper)
/if
}
'code here'
}
No examples 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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments