Dela via


SessionLockLostError Klass

Låset för sessionen har upphört att gälla. Anropare bör begära sessionen igen.

Alla oreglerade meddelanden som har tagits emot kan inte längre lösas.

Arv
SessionLockLostError

Konstruktor

SessionLockLostError(**kwargs: Any)

Metoder

add_note

Exception.add_note(obs) – lägg till en anteckning i undantaget

raise_with_traceback

Skapa undantaget med den befintliga spårningsfilen.

Inaktuell sedan version 1.22.0: Den här metoden är inaktuell eftersom vi inte stöder Python 2 längre. Använd raise/from i stället.

with_traceback

Exception.with_traceback(tb) – ange själv. traceback till tb och returnera själv.

add_note

Exception.add_note(obs) – lägg till en anteckning i undantaget

add_note()

raise_with_traceback

Skapa undantaget med den befintliga spårningsfilen.

Inaktuell sedan version 1.22.0: Den här metoden är inaktuell eftersom vi inte stöder Python 2 längre. Använd raise/from i stället.

raise_with_traceback() -> None

with_traceback

Exception.with_traceback(tb) – ange själv. traceback till tb och returnera själv.

with_traceback()

Attribut

args

continuation_token

continuation_token: str | None

exc_msg

exc_msg: str

exc_traceback

exc_traceback: TracebackType | None

exc_type

exc_type: Type[Any] | None

exc_value

exc_value: BaseException | None

inner_exception

inner_exception: BaseException | None

message

message: str