Source code for perfmon.exceptions.__init__

"""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
[docs]class MetricGroupNotImplementedError(Exception): """Requested metric group not implemented""" pass
[docs]class ArchitectureNotFoundError(Exception): """Processor architecture not found""" pass