This repository has been archived on 2025-10-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
RDTKEditor/RhythmBaseCore/Exceptions/UnreadableEventException.cs
T

20 lines
677 B
C#

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