On Thu, Nov 27, 2008 at 10:40 AM, John Mettraux <[EMAIL PROTECTED]> wrote:
> On Thu, Nov 27, 2008 at 10:18 AM, Raphael Simon <[EMAIL PROTECTED]> wrote:
>> That's great! I would be happy to do some testing or contribute in other
>> ways, let me know.

Hi Raphael,

the feature branch is almost done, here are the current tests for the
'on_error' :

http://github.com/jmettraux/ruote/tree/raphael_error_handling/test/ft_93_on_error.rb

I have 3 cases for now

** on_error = 'fail_path'

removes the block containing the error and executes the subprocess
named 'fail_path' (note that a lonely participant name is valid here)

** on_error = ''

the blank error handler indicates that errors within this block should
be handled the regular way (no error handling, pass to error journal).
Could be useful for disabled error handling in a sub block

** on_error = 'undo'

the block is simply cancelled and the process resumes right after it
(equivalent to the 'undo' expression)


I will certainly implement 'redo' as well, might come in handy. Once
the feature looks OK, I'll merge in the master branch.


What do you think ? (what do others think btw ?)


Happy Thanksgiving !

-- 
John Mettraux   -   http://jmettraux.wordpress.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ruote (OpenWFEru) users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to