multipackage.data.scripts.shared_errors module

Shared exceptions among the various command line scripts installed here.

Summary

Exceptions:

ExternalError
GenericError
InternalError
MismatchError

Functions:

handle_exception Helper function for handling exceptions raised in main.

Reference

exception multipackage.data.scripts.shared_errors.MismatchError(subsystem, expected, found)[source]

Bases: Exception

exception multipackage.data.scripts.shared_errors.ExternalError(service, message)[source]

Bases: Exception

exception multipackage.data.scripts.shared_errors.InternalError(message)[source]

Bases: Exception

exception multipackage.data.scripts.shared_errors.GenericError(message, return_value=1)[source]

Bases: Exception

multipackage.data.scripts.shared_errors.handle_exception(exception)[source]

Helper function for handling exceptions raised in main.