pyecs.exceptions.Exceptions#

Exceptions

ComponentNotFoundError

Raised when a component doesn't exist on an entity.

EntityNotFoundError

Raised when an entity doesn't exist.

OperationFailedError

Raised when an ECS operation fails.

PyECSError

Base exception for all PyECS errors.

exception pyecs.exceptions.Exceptions.PyECSError[source]#

Base exception for all PyECS errors.

exception pyecs.exceptions.Exceptions.EntityNotFoundError[source]#

Raised when an entity doesn’t exist.

exception pyecs.exceptions.Exceptions.ComponentNotFoundError[source]#

Raised when a component doesn’t exist on an entity.

exception pyecs.exceptions.Exceptions.OperationFailedError[source]#

Raised when an ECS operation fails.