exception documentation
class WrongObjectException(Exception):
Known subclasses: dulwich.errors.NotBlobError, dulwich.errors.NotCommitError, dulwich.errors.NotTagError, dulwich.errors.NotTreeError
Constructor: WrongObjectException(sha, *args, **kwargs)
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.
overridden in
dulwich.errors.NotBlobError, dulwich.errors.NotCommitError, dulwich.errors.NotTagError, dulwich.errors.NotTreeErrorUndocumented