Skip to content

Commit 116f41f

Browse files
committed
Error reporting reworked
Closing resource is now parametrized by the computation status. It enables to close resource differently for successful and failed computations. Result have been reworked to report all encountered errors and exceptions.
1 parent 4797bb3 commit 116f41f

40 files changed

+6414
-2606
lines changed

demos/dependency_injection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from typing import List
77

88

9-
@dataclass
9+
@dataclass(frozen=True)
1010
class NotFound(Exception):
1111
url: str
1212

docs/api/index.html

Lines changed: 712 additions & 338 deletions
Large diffs are not rendered by default.

docs/api/io.html

Lines changed: 260 additions & 115 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)