(self,
msg: str,
errno: int = -errno.EINVAL)
| 40 | if it was raised in a different mgr module. |
| 41 | """ |
| 42 | def __init__(self, |
| 43 | msg: str, |
| 44 | errno: int = -errno.EINVAL): |
| 45 | super(SpecValidationError, self).__init__(msg) |
| 46 | self.errno = errno |
| 47 | |
| 48 | |
| 49 | class HostSpec(object): |