File: //opt/saltstack/salt/lib/python3.10/site-packages/gitdb/__pycache__/exc.cpython-310.pyc
o
;j� � @ s� d Z ddlmZ g d�ZG dd� de�ZG dd� de�ZG dd � d e�ZG d
d� de�ZG dd
� d
e�Z G dd� de�Z
G dd� de�ZG dd� de�ZdS )zModule with common exceptions� )�
to_hex_sha) �AmbiguousObjectName�BadName� BadObject�
BadObjectType�
InvalidDBRoot�ODBError�
ParseError�UnsupportedOperationr c @ � e Zd ZdZdS )r z(All errors thrown by the object databaseN��__name__�
__module__�__qualname__�__doc__� r r �=/opt/saltstack/salt/lib/python3.10/site-packages/gitdb/exc.pyr � r c @ r )r zDThrown if an object database cannot be initialized at the given pathNr r r r r r r r c @ � e Zd ZdZdd� ZdS )r zQThe object with the given SHA does not exist. Instantiate with the
failed shac C s dt | jd � S )Nz
BadObject: %sr )r �args��selfr r r �__str__ s zBadObject.__str__N�r
r r r r r r r r r s r c @ r )r z.A name provided to rev_parse wasn't understoodc C s d| j d S )Nz%Ref '%s' did not resolve to an objectr )r r r r r r '