// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. // Ported from: https://github.com/SixLabors/Fonts/blob/034a440aece357341fcc6b02db58ffbe153e54ef/src/SixLabors.Fonts using System; namespace Avalonia.Media.Fonts.Tables { /// /// Exception font loading can throw if it finds a required table is missing during font loading. /// /// public class MissingFontTableException : Exception { /// /// Initializes a new instance of the class. /// /// The message that describes the error. /// The table. public MissingFontTableException(string message, string table) : base(message) => Table = table; /// /// Gets the table where the error originated. /// public string Table { get; } } }