using System;
using WindowsDisplayAPI.Native.DisplayConfig;
namespace WindowsDisplayAPI.Exceptions
{
///
/// Represents errors that occurs because of missing mode information
///
public class MissingModeException : Exception
{
///
/// Creates a new MissingModeException
///
/// The missing mode type
/// The human readable message of the exception
public MissingModeException(string message, DisplayConfigModeInfoType missingModeType) : base(message)
{
MissingModeType = missingModeType;
}
///
/// Gets the missing mode type
///
public DisplayConfigModeInfoType MissingModeType { get; }
}
}