class MalcolmException(Exception):
"""Base class for all Malcolm exceptions"""
pass
[docs]class TimeoutError(MalcolmException):
"""The operation exceeded the given deadline"""
pass
[docs]class AbortedError(MalcolmException):
"""The operation was aborted"""
pass
[docs]class ResponseError(MalcolmException):
"""A Put or Post raised an Error"""
pass
[docs]class UnexpectedError(MalcolmException):
"""We received an object we weren't expecting"""
pass
[docs]class BadValueError(MalcolmException):
"""match_update() received one of the specified bad values"""
pass
[docs]class YamlError(MalcolmException):
"""When instantiating some YAML raises an error"""
pass
[docs]class FieldError(MalcolmException):
"""Basically a KeyError but without quotation marks in error message"""
pass
[docs]class IncompatibleError(MalcolmException):
"""Incompatibility between components of this scan"""
pass
[docs]class NotWriteableError(MalcolmException):
"""The field is not currently writeable, so cannot Put or Post to it"""