public static void Error(string text) => NotificationBox.Error("Error", text).Throw();
public static void Error(string title, Exception e) { Action action = () => Message(e.GetType().Name, e.ToString()); NotificationBox.Error(title, $"A type {e.GetType().Name} error occurred", lclick: action).Throw(); }
public static void Error(string title, string text, Action lclick = null, Action rclick = null, EdgeType side = EdgeType.Left, Monitor monitor = null) => NotificationBox.Error(title, text, lclick, rclick, side, monitor).Throw();