Revision 8e70b181 lib/errors.py

b/lib/errors.py
98 98
  pass
99 99

  
100 100

  
101
class InvalidOS(GenericError):
102
  """Missing OS on node.
103

  
104
  This is raised when an OS exists on the master (or is otherwise
105
  requested to the code) but not on the target node.
106

  
107
  This exception has three arguments:
108
    - the name of the os
109
    - the source directory, if any
110
    - the reason why we consider this an invalid OS (text of error message)
111

  
112
  """
113

  
114

  
115 101
class ParameterError(GenericError):
116 102
  """A passed parameter to a command is invalid.
117 103

  

Also available in: Unified diff