Public Attributes | |
FAILURE | |
TIMEOUT | |
OVERLOADED | |
UNIMPLEMENTED | |
Error classifications.
These are designed to provide users with courses of action based on the code that's received: e.g. retry on timeout, try a different way of doing the same thing on unimplemented, show the user an error message on failure.
com.choosemuse.libmuse.ErrorType.FAILURE |
A generic failure occurred without any further information. Retrying the operation is unlikely to result in success.
com.choosemuse.libmuse.ErrorType.OVERLOADED |
Some resource (queue space, memory, bandwidth) was exhausted. Retry with backoff.
com.choosemuse.libmuse.ErrorType.TIMEOUT |
Some timeout was exceeded; the operation might succeed if retried.
com.choosemuse.libmuse.ErrorType.UNIMPLEMENTED |
Something was tried that isn't implemented.