EasyEcs
API reference

SystemErrorPolicy

What an exception thrown by a system does (WorldOptions.SystemErrors).

public enum SystemErrorPolicy

What an exception thrown by a system does (WorldOptions.SystemErrors).

Fields

Disable

Disable = 1;

Switch the failing system off (EcsSystem.Enabled false), keep the exception in EcsSystem.Error and go on with the update: a failure is data the application reads from World.Systems.

Throw

Throw = 0;

Propagate out of the update (and out of World.Dispose for OnDestroy).

Edit on GitHub

Last updated on

How is this guide?

On this page