Scripting API

Scripting API

SystemFailure

Class in Abyss.Core, from Abyss.Core.

A system that threw while the schedule was running it.

public sealed class SystemFailure

Properties

System

public SystemId System { get; }

The system that failed.

Name

public string Name { get; }

Its display name.

Exception

public Exception Exception { get; }

What it threw.

Frame

public long Frame { get; }

The frame it failed on.

ConsecutiveFailures

public int ConsecutiveFailures { get; }

How many frames in a row this system has now failed, counting this one. Resets on success.

Executed

public bool Executed { get; }

Whether the system body actually ran.

False when the failure happened while resolving the query — a borrow conflict, say. That is an engine-level problem with the schedule rather than a bug in gameplay code, so a host may reasonably want to treat the two differently.

Methods

ToString

public override string ToString()