23 lines
601 B
C#
23 lines
601 B
C#
// Copyright (c) Six Labors.
|
|
// Licensed under the Six Labors Split License.
|
|
|
|
using System;
|
|
|
|
namespace SixLabors.Fonts {
|
|
/// <summary>
|
|
/// Base class for exceptions thrown by this library.
|
|
/// </summary>
|
|
/// <seealso cref="Exception" />
|
|
public class FontException : Exception
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="FontException"/> class.
|
|
/// </summary>
|
|
/// <param name="message">The message that describes the error.</param>
|
|
public FontException(string message)
|
|
: base(message)
|
|
{
|
|
}
|
|
}
|
|
}
|