General default exception handler
dale at out-think.NOSPAMco.uk
Wed Dec 6 13:59:38 CET 2000
David Bolen <db3l at fitlinxx.com> wrote:
>Dale Strickland-Clark <dale at out-think.NOSPAMco.uk> writes:
>> Interesting idea but that won't work in this case. I have to trap
>> the error inside the COM object or much of the detail is lost.
>Then how about just structuring your COM object so that the various
>entry points just pass control through some sort of dispatch function
>that can provide the single general purpose wrapper for unhandled
>exceptions. Python's ability to pass in a dynamic function reference
>and arbitrary parameters through such a dispatch should make this
That's an interesting idea.
Business Technology Consultants
More information about the Python-list