Package copr :: Package client :: Module exceptions
[hide private]
[frames] | no frames]

Source Code for Module copr.client.exceptions

 1  #-*- coding: UTF-8 -*- 
 2   
 3  """ 
 4  Exceptions for copr-cli 
 5  """ 
 6   
 7   
8 -class CoprException(Exception):
9 10 """ Basic exception class for copr-cli. """ 11 pass
12 13
14 -class CoprNoConfException(CoprException):
15 16 """ Exception thrown when no config file is found. """ 17 pass
18 19
20 -class CoprConfigException(CoprException):
21 22 """ Exception thrown when the config file is incomplete or 23 malformed. 24 """ 25 pass
26 27
28 -class CoprRequestException(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 CoprBuildException(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 CoprUnknownResponseException(Exception):
43 """ Exception thrown when the response is unknown to cli. 44 It usualy means that something is broken. 45 """ 46 pass
47