Searched refs:ZFSError (Results 1 - 5 of 5) sorted by relevance
/osnet-11/usr/src/lib/pyzfs/common/ |
H A D | util.py | 58 class ZFSError(StandardError): class in inherits:StandardError 115 return ZFSError.__strs.get(self.errno, os.strerror(self.errno)) 153 raise ZFSError(0, msg) 154 raise ZFSError(0, "") 158 raise ZFSError(0, msg)
|
H A D | dataset.py | 94 Unless otherwise noted, any method can raise a ZFSError to 116 Raises a ZFSError if the dataset can't be accessed (eg 122 e = zfs.util.ZFSError(errno.EINVAL, 142 Does not raise ZFSError. 216 raise zfs.util.ZFSError(errno.EINVAL, 222 except zfs.util.ZFSError, e: 232 except zfs.util.ZFSError, e:
|
H A D | holds.py | 74 raise zfs.util.ZFSError(errno.ENOENT, _("no matching datasets"))
|
H A D | ioctl.c | 35 static PyObject *ZFSError; variable 55 PyErr_SetObject(ZFSError, Py_BuildValue("is", errno, errstr)); 540 ZFSError = PyObject_GetAttrString(zfs_util, "ZFSError");
|
H A D | allow.py | 245 Raises ZFSError if it is not a valid permission.""" 251 raise zfs.util.ZFSError(errno.EINVAL, permname,
|
Completed in 67 milliseconds