Peña, Botp
10/23/2007 3:24:00 AM
ara wrote:
# argument 'x' do
# error do
# puts 'this fires *instead of* normal error
# handling using #instance_eval...'
# end
Hi ara,
sorry to disturb you again. i hit a problem here. On my case, argument x can give an "required" error or an "arity" error (also possible error in validation too).
how can i capture wc error then? can you pass it (as param) on the block? i do not care of the format, i'll take care of the parsing. in fact, you can just pass the default softerror message so i could either 1) use it by default or 2) i can parse it and do whatever i want with it.
thanks and kind regards -botp