// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
namespace SixLabors.Fonts {
///
/// Exception font loading can throw if it finds a required table is missing during font loading.
///
///
public class MissingFontTableException : InvalidFontFileException
{
///
/// Initializes a new instance of the class.
///
/// The message that describes the error.
/// The table.
public MissingFontTableException(string message, string table)
: base(message)
=> this.Table = table;
///
/// Gets the table where the error originated.
///
public string Table { get; }
}
}