You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
465 B
17 lines
465 B
using System; |
|
using System.Diagnostics; |
|
|
|
namespace gaemstone.ECS; |
|
|
|
public class FlecsException : Exception |
|
{ |
|
public FlecsException() : base() { } |
|
public FlecsException(string message) : base(message) { } |
|
} |
|
|
|
public class FlecsAbortException : FlecsException |
|
{ |
|
private readonly string _stackTrace = new StackTrace(2, true).ToString(); |
|
internal FlecsAbortException() : base("Abort was called by flecs") { } |
|
public override string? StackTrace => _stackTrace; |
|
}
|
|
|