wrapt_timeout_decorator icon indicating copy to clipboard operation
wrapt_timeout_decorator copied to clipboard

make own Exception derived from BaseException

Open bitranox opened this issue 6 years ago • 0 comments

the TimeoutError can be caught by the decorated function, because it is derived from Exception / OSError. Better to use our own Exception derived from BaseException

bitranox avatar Sep 02 '19 22:09 bitranox