/// <summary> /// Print a Noesis error caused by the NoesisService /// </summary> /// <param name="error">The error message.</param> internal static void PrintServiceError(Exception error) { NoesisErrorConsole.ConsoleWrite($"NoesisService error: {NoesisErrorConsole.GetMessageFromException(error)}"); }
/// <summary> /// Print a Noesis error caused by a NoesisPanel /// </summary> /// <param name="componentName">The name of the component which caused the error.</param> /// <param name="error">The error message.</param> internal static void PrintPanelError(string componentName, Exception error) { NoesisErrorConsole.ConsoleWrite($"NoesisPanel error ({componentName}): {NoesisErrorConsole.GetMessageFromException(error)}"); }