using RhythmBase.Events; namespace RhythmBase.Exceptions { /// /// Exception thrown when an event is unreadable. /// /// /// Initializes a new instance of the class with a specified error message and the unreadable event item. /// /// The message that describes the error. /// The unreadable event item. public class UnreadableEventException(string message, IBaseEvent item) : RhythmBaseException(message) { /// /// Gets the unreadable event item. /// public IBaseEvent Item { get; } = item; } }