Skip to content

Commit

Permalink
Add docstrings for ErrorEvent fields (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
vrslev authored Jun 13, 2024
1 parent 98839f0 commit 3038588
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stompman/listening_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ async def with_auto_ack(
@dataclass
class ErrorEvent:
message_header: str = field(init=False)
"""Short description of the error."""
body: bytes = field(init=False)
"""Long description of the error."""
_frame: ErrorFrame
_client: "Client" = field(repr=False)

Expand Down

0 comments on commit 3038588

Please sign in to comment.