using RobotNet.VDA5050.State; using RobotNet10.RobotApp.Services.Robot; namespace RobotNet10.RobotApp.Interfaces; public interface IError { Error[] ErrorsState { get; } event Action? OnNewFatalError; bool HasFatalError { get; } void AddError(RobotError error, TimeSpan? clearAfter = null); void DeleteErrorType(string errorType); void DeleteErrorId(int id); void ClearAllErrors(); void ClearFatalErrors(); }