Skip to content

Commit 90896d6

Browse files
committed
Remove exceptions that are not actually raised from the docs
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent c829640 commit 90896d6

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/frequenz/channels/_anycast.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,6 @@ def consume(self) -> _T:
425425
426426
Raises:
427427
ReceiverStoppedError: If the receiver stopped producing messages.
428-
ReceiverError: If there is some problem with the receiver.
429428
"""
430429
if ( # pylint: disable=protected-access
431430
self._next is _Empty and self._channel._closed

src/frequenz/channels/_merge.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ def consume(self) -> ReceiverMessageT_co:
179179
180180
Raises:
181181
ReceiverStoppedError: If the receiver stopped producing messages.
182-
ReceiverError: If there is some problem with the receiver.
183182
"""
184183
if not self._results and not self._pending:
185184
raise ReceiverStoppedError(self)

src/frequenz/channels/_receiver.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,6 @@ def consume(self) -> ReceiverMessageT_co:
450450
451451
Raises:
452452
ReceiverStoppedError: If the receiver stopped producing messages.
453-
ReceiverError: If there is a problem with the receiver.
454453
"""
455454
if self._recv_closed:
456455
raise ReceiverStoppedError(self)

0 commit comments

Comments
 (0)