exception documentation

A checksum didn't match the expected contents.

Method __init__ Initialize a ChecksumMismatch exception.
Instance Variable expected Undocumented
Instance Variable extra Undocumented
Instance Variable got Undocumented
def __init__(self, expected: bytes | str, got: bytes | str, extra: str | None = None):

Initialize a ChecksumMismatch exception.

Parameters
expected:bytes | strThe expected checksum value (bytes or hex string).
got:bytes | strThe actual checksum value (bytes or hex string).
extra:str | NoneOptional additional error information.
expected =

Undocumented

extra =

Undocumented

got =

Undocumented