chi.exception

The chi.exception module contains exception classes that may be raised by python-chi modules.

exception chi.exception.CHIValueError(message)[source]

Raised when argument is not valid. These errors might be fixed by checking hardware catalog or documentation. Examples where this might be seen are: * Site name is not valid * Node type is not valid * Resource does not exist

exception chi.exception.ResourceError(message)[source]

Raised when a request has valid arguments, but the resources are being used incorrectly, or can not be used as requested. This type of error might depend on the time the request is run, due to the shared nature of the testbed.

exception chi.exception.ServiceError(message)[source]

Raised when an error occurs with some Chameleon resource. For example, if your node is having hardware issues, and so fails to provision, this will be raised.