l.c.x.ErrorCodeMixin(object) : class documentation

Part of libcloud.common.xmlrpc View Source View In Hierarchy

Known subclasses: libcloud.common.xmlrpc.XMLRPCResponse

This is a helper for API's that have a well defined collection of error
codes that are easily parsed out of error messages. It acts as a factory:
it finds the right exception for the error code, fetches any parameters it
needs from the context and raises it.
Method raise_exception_for_error Undocumented
def raise_exception_for_error(self, error_code, message): (source)
Undocumented
API Documentation for libcloud, generated by pydoctor at 2013-03-28 10:45:49.