namespace Tiku.Application.Learning;

public class LearningException(string code, string message) : Exception(message)
{
    public string Code { get; } = code;
}

public sealed class LearningResourceNotFoundException(string code, string message)
    : LearningException(code, message);

public sealed class LearningValidationException(string code, string message)
    : LearningException(code, message);