Blame progit/exceptions.py
|
Pierre-Yves Chibon |
6420e6 |
#-*- coding: utf-8 -*-
|
|
Pierre-Yves Chibon |
6420e6 |
|
|
Pierre-Yves Chibon |
6420e6 |
"""
|
|
Pierre-Yves Chibon |
6420e6 |
(c) 2014 - Copyright Red Hat Inc
|
|
Pierre-Yves Chibon |
6420e6 |
|
|
Pierre-Yves Chibon |
6420e6 |
Authors:
|
|
Pierre-Yves Chibon |
6420e6 |
Pierre-Yves Chibon <pingou@pingoured.fr></pingou@pingoured.fr>
|
|
Pierre-Yves Chibon |
6420e6 |
|
|
Pierre-Yves Chibon |
6420e6 |
"""
|
|
Pierre-Yves Chibon |
6420e6 |
|
|
Pierre-Yves Chibon |
6420e6 |
|
|
Pierre-Yves Chibon |
6420e6 |
class ProgitException(Exception):
|
|
Pierre-Yves Chibon |
6420e6 |
''' Parent class of all the exception for all Progit specific
|
|
Pierre-Yves Chibon |
6420e6 |
exceptions.
|
|
Pierre-Yves Chibon |
6420e6 |
'''
|
|
Pierre-Yves Chibon |
6420e6 |
pass
|
|
Pierre-Yves Chibon |
6420e6 |
|
|
Pierre-Yves Chibon |
6420e6 |
|
|
Pierre-Yves Chibon |
6420e6 |
class RepoExistsException(ProgitException):
|
|
Pierre-Yves Chibon |
6420e6 |
''' Exception thrown when trying to create a repository that already
|
|
Pierre-Yves Chibon |
6420e6 |
exists.
|
|
Pierre-Yves Chibon |
6420e6 |
'''
|
|
Pierre-Yves Chibon |
6420e6 |
pass
|