Part of aculab View Source
Exception classes for the Aculab API.
Job termination reasons are also modelled as exceptions. This is stretching the concept 'exception' a little, because some are perfectly normal and to be expected.
But since exeptions due to an error may also occur, this seems better than to create a distinction between expected causes and unexpected ones - in particular because the distinction is arbitrary in some cases.
See StopIteration for a precedent.| Class | AculabError | Call Control exception. The error code is stored in value. |
| Class | AculabSpeechError | Prosody exception. The error code is stored in value. |
| Class | AculabFAXError | FAX exception. The error code is stored in value. |
| Class | AculabStopped | Termination reason: stopped. |
| Class | AculabClosed | Termination reason: closed. |
| Class | AculabSilence | Termination reason: silence. |
| Class | AculabTimeout | Termination reason: timeout. |