EventStreamClosedError Class

Raised when emit() is called on an already-closed stream.

The stream still exists; the caller cannot add more events. This is a server-side bug (the producer kept emitting after closing) and should be wire-mapped to 5xx, not 4xx.

Constructor

EventStreamClosedError()

Methods

add_note

Exception.add_note(note) – add a note to the exception

with_traceback

Exception.with_traceback(tb) – set self.traceback to tb and return self.

add_note

Exception.add_note(note) – add a note to the exception

add_note()

with_traceback

Exception.with_traceback(tb) – set self.traceback to tb and return self.

with_traceback()

Attributes

args