Source code for monitormetrics.utils.exceptions

"""This file contains the custom exceptions defined for monitoring tools."""


[docs]class CommandExecutionFailed(Exception): """Command execution exception""" pass
[docs]class BatchSchedulerNotFound(Exception): """Batch scheduler not implemented or not recognised""" pass
[docs]class JobPIDNotFoundError(Exception): """Step job PID not found""" pass
[docs]class ProcessorVendorNotFoundError(Exception): """Processor vendor not implemented""" pass
[docs]class KeyNotFoundError(Exception): """Key not found in the dict""" pass
[docs]class PerfEventListNotFoundError(Exception): """Perf event list not implemented""" pass