diff options
author | Devaev Maxim <[email protected]> | 2019-12-09 02:26:48 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-12-09 02:26:48 +0300 |
commit | 3048fc79233f1ece909dee0f100e72a2f3f5a639 (patch) | |
tree | 834e0ab68541ecf0f58a4100f90ca0836b6f9bf5 /kvmd/errors.py | |
parent | dd52a85cf6c21c5a7743acad152d8378f1ae0ef4 (diff) |
very common exceptions
Diffstat (limited to 'kvmd/errors.py')
-rw-r--r-- | kvmd/errors.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/kvmd/errors.py b/kvmd/errors.py new file mode 100644 index 00000000..8103b16c --- /dev/null +++ b/kvmd/errors.py @@ -0,0 +1,28 @@ +# ========================================================================== # +# # +# KVMD - The main Pi-KVM daemon. # +# # +# Copyright (C) 2018 Maxim Devaev <[email protected]> # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see <https://www.gnu.org/licenses/>. # +# # +# ========================================================================== # + + +class OperationError(Exception): + pass + + +class IsBusyError(Exception): + pass |