[master 3/21] Add errors about reading and writing labels to error heirarchy.

mulkieran installerbot-noreply at redhat.com
Tue May 12 21:35:45 UTC 2015


From: mulhern <amulhern at 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 at 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/ad72d01460304f590ecb774945598c10568c54c2


More information about the anaconda-patches mailing list