Searched refs:ZFSError (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/pyzfs/
H A Dpyzfs.py68 except zfs.util.ZFSError, e:
/illumos-gate/usr/src/lib/pyzfs/common/
H A Ddataset.py94 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 Dutil.py57 class ZFSError(StandardError): class in inherits:StandardError
112 return ZFSError.__strs.get(self.errno, os.strerror(self.errno))
H A Dholds.py75 raise zfs.util.ZFSError(errno.ENOENT, _("no matching datasets"))
H A Dioctl.c36 static PyObject *ZFSError; variable
56 PyErr_SetObject(ZFSError, Py_BuildValue("is", errno, errstr));
538 ZFSError = PyObject_GetAttrString(zfs_util, "ZFSError");
H A Dallow.py246 Raises ZFSError if it is not a valid permission."""
252 raise zfs.util.ZFSError(errno.EINVAL, permname,

Completed in 89 milliseconds