mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
- Add new `PluginPreconditionFailedException` to track cases where a plugin could not be loaded due to a precondition not being met. - Make `BannedPluginException` inherit from this - Make `PluginPreconditionFailedException`s show as warnings in the log.
16 lines
509 B
C#
16 lines
509 B
C#
namespace Dalamud.Plugin.Internal.Exceptions;
|
|
|
|
/// <summary>
|
|
/// This represents a banned plugin that attempted an operation.
|
|
/// </summary>
|
|
internal class BannedPluginException : PluginPreconditionFailedException
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="BannedPluginException"/> class.
|
|
/// </summary>
|
|
/// <param name="message">The message describing the invalid operation.</param>
|
|
public BannedPluginException(string message)
|
|
: base(message)
|
|
{
|
|
}
|
|
}
|