exception documentation

Baseclass for all the _ is not a _ exceptions on objects.

Do not instantiate directly.

Subclasses should define a type_name attribute that indicates what was expected if they were raised.

Method __init__ Initialize a WrongObjectException.
Class Variable type_name Undocumented
def __init__(self, sha: bytes, *args: object, **kwargs: object):

Initialize a WrongObjectException.

Parameters
sha:bytesThe SHA of the object that was not of the expected type.
*args:objectAdditional positional arguments.
**kwargs:objectAdditional keyword arguments.