Exceptions#
- exception minecraft.exceptions.AuthenticationError(message: str, correlation_id: str | None = None)#
Bases:
ExceptionException raised when the client fails to authenticate with the builtin Microsoft authentication scheme.
- exception minecraft.exceptions.DisconnectError(reason)#
Bases:
ExceptionException raised when the server disconnects the client.
- Variables:
reason (Chat) – The reason for the disconnect.
- exception minecraft.exceptions.LoginDisconnectError(reason)#
Bases:
DisconnectErrorException raised when the server disconnects the client during the login phase.
- exception minecraft.exceptions.MalformedPacketSizeError#
Bases:
ExceptionException raised when a packet that is too large is recieved.