Attention
You are viewing PyUnity docs under the develop
branch.
As such, they are only applicable if you installed from source.
Go to https://docs.pyunity.x10.bz/en/latest/ for the most recent
release.
pyunity.errors module¶
Source code: pyunity/errors.py
Module for all exceptions and warnings related to PyUnity.
- exception pyunity.errors.PyUnityException[source]¶
Bases:
Exception
Base class for PyUnity exceptions.
- exception pyunity.errors.ComponentException[source]¶
Bases:
PyUnityException
Class for PyUnity exceptions relating to components.
- exception pyunity.errors.GameObjectException[source]¶
Bases:
PyUnityException
Class for PyUnity exceptions relating to GameObjects.
- exception pyunity.errors.ProjectParseException[source]¶
Bases:
PyUnityException
Class for PyUnity project parsing exceptions.
- exception pyunity.errors.PyUnityExit[source]¶
Bases:
PyUnityException
Exception for breaking out of the main loop and shutting PyUnity down.