Source code for labgrid.exceptions

import attr


[docs]@attr.s(eq=False) class NoConfigFoundError(Exception): msg = attr.ib(validator=attr.validators.instance_of(str))
[docs]@attr.s(eq=False) class NoSupplierFoundError(Exception): msg = attr.ib(validator=attr.validators.instance_of(str)) filter = attr.ib( default=None, validator=attr.validators.optional(attr.validators.instance_of(set)) )
[docs]@attr.s(eq=False) class InvalidConfigError(Exception): msg = attr.ib(validator=attr.validators.instance_of(str))
[docs]@attr.s(eq=False) class NoDriverFoundError(NoSupplierFoundError): pass
[docs]@attr.s(eq=False) class NoResourceFoundError(NoSupplierFoundError): pass