ImageSharp/SixLabors.Fonts/Exceptions/InvalidFontFileException.cs
2026-08-03 22:31:27 +02:00

23 lines
668 B
C#

// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
using System;
namespace SixLabors.Fonts {
/// <summary>
/// Exception font loading can throw if it encounters invalid data during font loading.
/// </summary>
/// <seealso cref="Exception" />
public class InvalidFontFileException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="InvalidFontFileException"/> class.
/// </summary>
/// <param name="message">The message that describes the error.</param>
public InvalidFontFileException(string message)
: base(message)
{
}
}
}