MCPcopy Create free account
hub / github.com/ceph/ceph / __init__

Method __init__

src/python-common/ceph/deployment/hostspec.py:42–46  ·  view source on GitHub ↗
(self,
                 msg: str,
                 errno: int = -errno.EINVAL)

Source from the content-addressed store, hash-verified

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
49class HostSpec(object):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected