Files
ft/Client/Packages/io.github.hatayama.uloopmcp/Editor/Config/ToolDisabledException.cs

19 lines
406 B
C#

using System;
namespace io.github.hatayama.uLoopMCP
{
/// <summary>
/// Thrown when a disabled tool is invoked.
/// </summary>
public class ToolDisabledException : Exception
{
public string ToolName { get; }
public ToolDisabledException(string toolName)
: base($"Tool '{toolName}' is disabled")
{
ToolName = toolName;
}
}
}