Package copr_cli :: Module copr_exceptions
[hide private]
[frames] | no frames]

Source Code for Module copr_cli.copr_exceptions

 1  #-*- coding: UTF-8 -*- 
 2   
 3  """ 
 4  Exceptions for copr-cli 
 5  """ 
 6   
 7   
8 -class CoprCliException(Exception):
9 10 """ Basic exception class for copr-cli. """ 11 pass
12 13
14 -class CoprCliNoConfException(CoprCliException):
15 16 """ Exception thrown when no config file is found. """ 17 pass
18 19
20 -class CoprCliConfigException(CoprCliException):
21 22 """ Exception thrown when the config file is incomplete or 23 malformated. 24 """ 25 pass
26 27
28 -class CoprCliRequestException(Exception):
29 """ Exception thrown when the request is bad. For example, 30 the user provided wrong project name or build ID. 31 """ 32 pass
33 34
35 -class CoprCliBuildException(Exception):
36 """ Exception thrown when one or more builds fail and Cli is waiting 37 for the result. 38 """ 39 pass
40 41
42 -class CoprCliUnknownResponseException(Exception):
43 """ Exception thrown when the response is unknown to cli. 44 It usualy means that something is broken. 45 """ 46 pass
47