Dalamud/Dalamud/Game/Config/ConfigOptionNotFoundException.cs
goat 448b0d16ea
Add "loading dialog" for service init, unify blocking logic (#1779)
* wip

* hacky fix for overlapping event text in profiler

* move IsResumeGameAfterPluginLoad logic to PluginManager

* fix some warnings

* handle exceptions properly

* remove ability to cancel, rename button to "hide" instead

* undo Dalamud.Service refactor for now

* warnings

* add explainer, show which plugins are still loading

* add some text if loading takes more than 3 minutes

* undo wrong CS merge
2024-04-21 17:28:37 +02:00

17 lines
697 B
C#

namespace Dalamud.Game.Config;
/// <summary>
/// An exception thrown when a matching config option is not present in the config section.
/// </summary>
public class ConfigOptionNotFoundException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="ConfigOptionNotFoundException"/> class.
/// </summary>
/// <param name="sectionName">Name of the section being accessed.</param>
/// <param name="configOptionName">Name of the config option that was not found.</param>
public ConfigOptionNotFoundException(string sectionName, string configOptionName)
: base($"The option '{configOptionName}' is not available in {sectionName}.")
{
}
}