+ except (libbe.command.UsageError,
+ libbe.command.UserError,
+ OSError,
+ libbe.storage.ConnectionError,
+ libbe.util.http.HTTPError,
+ libbe.util.id.MultipleIDMatches,
+ libbe.util.id.NoIDMatches,
+ libbe.util.id.InvalidIDStructure,
+ libbe.storage.InvalidID,
+ ) as e:
+ msg = '{} {}'.format(type(e).__name__, format(e))