コード例 #1
0
 public static void Error(string text) => NotificationBox.Error("Error", text).Throw();
コード例 #2
0
        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();
        }
コード例 #3
0
 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();