using System; using Godot; namespace TBL.GodotSharp { /// /// Godot 异常 /// public class GodotException : Exception { public GodotException(Error error) : this(error, string.Empty) { } public GodotException(Error error, string message) : base($"{message}[{error}]") { } } }