Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cc-node
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
cc-node
Commits
feaba52b
Commit
feaba52b
authored
12 years ago
by
Anael Beutot
Browse files
Options
Downloads
Patches
Plain Diff
Comment exceptions
parent
1f243fb5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cloudcontrol/node/exc.py
+9
-0
9 additions, 0 deletions
cloudcontrol/node/exc.py
with
9 additions
and
0 deletions
cloudcontrol/node/exc.py
+
9
−
0
View file @
feaba52b
...
...
@@ -2,22 +2,27 @@
class
CCNodeError
(
Exception
):
"""
Base exception class for cc-node.
"""
pass
class
PluginError
(
CCNodeError
):
"""
Exception related to plugin execution.
"""
pass
class
UndefinedDomain
(
CCNodeError
):
"""
Operation on a domain that does not exist was tried.
"""
pass
class
PoolStorageError
(
CCNodeError
):
"""
Pool or volume was not found.
"""
pass
class
TunnelError
(
CCNodeError
):
"""
Error occured during TunnelJob execution.
"""
pass
...
...
@@ -27,16 +32,20 @@ class DRBDAllocationError(CCNodeError):
class
DRBDError
(
CCNodeError
):
"""
Error occured during DRBDJob execution.
"""
pass
class
ConsoleAlreadyOpened
(
CCNodeError
):
"""
VM virtio console is already opened.
"""
pass
class
VMMigrationError
(
CCNodeError
):
"""
Error during live migration job.
"""
pass
class
JobError
(
CCNodeError
):
"""
General exception for a job.
"""
pass
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment