Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'rigify/utils/errors.py')
-rw-r--r--rigify/utils/errors.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/rigify/utils/errors.py b/rigify/utils/errors.py
index 5ee1b9f7..5e5c9533 100644
--- a/rigify/utils/errors.py
+++ b/rigify/utils/errors.py
@@ -1,9 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
-#=======================================================================
-# Error handling
-#=======================================================================
-
class MetarigError(Exception):
""" Exception raised for errors.
@@ -16,7 +12,9 @@ class MetarigError(Exception):
class RaiseErrorMixin(object):
- def raise_error(self, message, *args, **kwargs):
+ base_bone: str
+
+ def raise_error(self, message: str, *args, **kwargs):
from .naming import strip_org
message = message.format(*args, **kwargs)