Updated
This commit is contained in:
45
Scripts/Animation/epic_pose_wrangler/v2/model/exceptions.py
Normal file
45
Scripts/Animation/epic_pose_wrangler/v2/model/exceptions.py
Normal file
@ -0,0 +1,45 @@
|
||||
# Copyright Epic Games, Inc. All Rights Reserved.
|
||||
"""
|
||||
API v2 Specific exceptions
|
||||
"""
|
||||
from epic_pose_wrangler.model import exceptions
|
||||
|
||||
class MessageConnectionError(exceptions.PoseWranglerException):
|
||||
"""
|
||||
Raised when message connections fail.
|
||||
"""
|
||||
|
||||
class InvalidSolverError(exceptions.PoseWranglerException):
|
||||
"""
|
||||
Raised when the incorrect solver type is specified
|
||||
"""
|
||||
|
||||
class InvalidNodeType(exceptions.PoseWranglerException, TypeError):
|
||||
"""
|
||||
Raised when the incorrect node type is specified
|
||||
"""
|
||||
|
||||
class PoseWranglerAttributeError(exceptions.PoseWranglerException, AttributeError):
|
||||
"""
|
||||
Raised when there is an issue getting/setting an attribute
|
||||
"""
|
||||
|
||||
class PoseBlenderPoseError(exceptions.PoseWranglerException):
|
||||
"""
|
||||
Generic error for issues with poses
|
||||
"""
|
||||
|
||||
class InvalidPose(exceptions.PoseWranglerException):
|
||||
"""
|
||||
Generic error for incorrect poses
|
||||
"""
|
||||
|
||||
class InvalidPoseIndex(exceptions.PoseWranglerException):
|
||||
"""
|
||||
Raised when issues arise surrounding the poses index
|
||||
"""
|
||||
|
||||
class BlendshapeError(exceptions.PoseWranglerException):
|
||||
"""
|
||||
Generic error for blendshape issues
|
||||
"""
|
Reference in New Issue
Block a user