There was an error while loading. Please reload this page.
1 parent 54b76f3 commit 9febc86Copy full SHA for 9febc86
1 file changed
postgresql/copyman.py
@@ -21,11 +21,14 @@
21
22
class Fault(Exception):
23
"""
24
- Exception occurred while the receiver was active.
+ Receivers raised exceptions. This happens in cases where a receiver raises
25
+ an exception. Faults should be trapped if recovery from an exception is
26
+ possible, or if the failed receiver is optional to the succes of the
27
+ operation.
28
29
The 'manager' attribute is the CopyManager that raised the fault.
30
- The 'faults' attribute is a dictionary mapping the Fitting to the exception
31
+ The 'faults' attribute is a dictionary mapping the receiver to the exception
32
instance raised.
33
34
def __init__(self, manager, faults):
0 commit comments