From: mulhern <amulhern(a)redhat.com>
Related: #12
Because labeling errors are sometimes not as severe as other errors,
so we do want to distinguish.
Signed-off-by: mulhern <amulhern(a)redhat.com>
---
blivet/errors.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/blivet/errors.py b/blivet/errors.py
index 4a31987..179c823 100644
--- a/blivet/errors.py
+++ b/blivet/errors.py
@@ -77,6 +77,12 @@ class MultipathMemberError(DeviceFormatError):
class FSError(DeviceFormatError):
pass
+class FSWriteLabelError(FSError):
+ pass
+
+class FSReadLabelError(FSError):
+ pass
+
class FSResizeError(FSError):
def __init__(self, message, details):
FSError.__init__(self, message)
--
To view this commit on github, visit
https://github.com/rhinstaller/blivet/commit/1ab463ef7d5bbc0ffbbb779f83b3...