IIRC, they all come from a single or several base-class exceptions.  If you catch a base, all derived exception classes will also be caught.  e.g. <code>aexpect.ShellError</code> will also catch <code>ShellTimeoutError, ShellProcessTerminatedError, ShellCmdError, ...</code>.