exception documentation

class UnexpectedCommandError(GitProtocolError):

Constructor: UnexpectedCommandError(command)

View In Hierarchy

Unexpected command received in a proto line.

Method __init__ Initialize an UnexpectedCommandError.

Inherited from GitProtocolError:

Method __eq__ Check equality between GitProtocolError instances.
def __init__(self, command: str | None): ΒΆ

Initialize an UnexpectedCommandError.

Parameters
command:str | NoneThe unexpected command received, or None for flush-pkt.