Skip to content

Commit 9febc86

Browse files
author
James William Pye
committed
Elaborate more in the doc-string.
1 parent 54b76f3 commit 9febc86

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

postgresql/copyman.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,14 @@
2121

2222
class Fault(Exception):
2323
"""
24-
Exception occurred while the receiver was active.
24+
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.
2528
2629
The 'manager' attribute is the CopyManager that raised the fault.
2730
28-
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
2932
instance raised.
3033
"""
3134
def __init__(self, manager, faults):

0 commit comments

Comments
 (0)