public sealed class RunicModelTurnExceptionEventArgs : EventArgs Describes an exception that a model context reports through IRunicModelContext.UnhandledTurnException: a posted turn that threw, a posted turn that the context dropped when it closed, or a close callback that threw.
Constructors
RunicModelTurnExceptionEventArgs
public RunicModelTurnExceptionEventArgs(Exception exception, bool dropped) Creates the event data.
Parameters
exceptionThe exception.
droppedWhether the context dropped a posted turn instead of running it.
Properties
Dropped
public bool Dropped { get; } Gets whether the context dropped a posted turn because it closed before the turn ran. The turn's code never ran. false for a turn or close callback that threw.
Exception
public Exception Exception { get; } Gets the exception: the one the turn or callback threw, or an ObjectDisposedException for a dropped turn.