Revision 7fe73c6f

b/lib/errors.py
61 61
  """Base exception for Ganeti.
62 62

  
63 63
  """
64
  pass
65 64

  
66 65

  
67 66
class LVMError(GenericError):
......
70 69
  This exception codifies problems with LVM setup.
71 70

  
72 71
  """
73
  pass
74 72

  
75 73

  
76 74
class LockError(GenericError):
......
79 77
  This signifies problems in the locking subsystem.
80 78

  
81 79
  """
82
  pass
83 80

  
84 81

  
85 82
class PidFileLockError(LockError):
......
95 92
  properly.
96 93

  
97 94
  """
98
  pass
99 95

  
100 96

  
101 97
class ProgrammerError(GenericError):
......
106 102
  parts of our code. It signifies a real programming bug.
107 103

  
108 104
  """
109
  pass
110 105

  
111 106

  
112 107
class BlockDeviceError(GenericError):
......
116 111
  properly.
117 112

  
118 113
  """
119
  pass
120 114

  
121 115

  
122 116
class ConfigurationError(GenericError):
......
126 120
  exist in the config or such raise this exception.
127 121

  
128 122
  """
129
  pass
130 123

  
131 124

  
132 125
class ConfigVersionMismatch(ConfigurationError):
......
136 129
  version.
137 130

  
138 131
  """
139
  pass
140 132

  
141 133

  
142 134
class ReservationError(GenericError):
......
152 144
  remote node.  It usually signifies a real programming bug.
153 145

  
154 146
  """
155
  pass
156 147

  
157 148

  
158 149
class SignatureError(GenericError):
......
163 154
  because of spurious traffic.
164 155

  
165 156
  """
166
  pass
167 157

  
168 158

  
169 159
class ParameterError(GenericError):
......
176 166
  The argument to this exception should be the parameter name.
177 167

  
178 168
  """
179
  pass
180 169

  
181 170

  
182 171
class OpPrereqError(GenericError):

Also available in: Unified diff