I am not very sure about the first point. If you meant sub-classing Exception then that's what I have. Different Exceptions (subclass of Exception) to throw for different subroutines.
Regarding second point "allow for a parameter to be sent to the exception handling routine"; It has the same problem parameter will depend on subroutine. But you have a good point that it could be retrieved from the object itself (Why I didn't think it :-(. May be I was obsessed with the thought to get something out of Moose itself.).
In reply to Re^2: Moose | How to identify subroutine inside an 'around' in case multiple subroutine share the same 'around'?
by ashish.kvarma
in thread Moose | How to identify subroutine inside an 'around' in case multiple subroutine share the same 'around'?
by ashish.kvarma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |