Skip to content

Commit 3038588

Browse files
authored
Add docstrings for ErrorEvent fields (#13)
1 parent 98839f0 commit 3038588

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stompman/listening_events.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ async def with_auto_ack(
5959
@dataclass
6060
class ErrorEvent:
6161
message_header: str = field(init=False)
62+
"""Short description of the error."""
6263
body: bytes = field(init=False)
64+
"""Long description of the error."""
6365
_frame: ErrorFrame
6466
_client: "Client" = field(repr=False)
6567

0 commit comments

Comments
 (0)