There are many approaches, some more suitable than others depending on the application. The topic has been discussed often, including a couple of times recently:
the lowliest monk
In reply to Re: Error wrapping in an OO module
by tlm
in thread Error wrapping in an OO module
by Fang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |