<?php

declare(strict_types=1);

namespace Plugin\tnt_mcp\src\Mcp\Backend;

use RuntimeException;

/**
 * The `permission:` a catalog entry declares is not a constant on {@see \JTL\Backend\Permissions}.
 *
 * This is deliberately fatal rather than "deny": a typo'd permission name that silently denied would
 * look like a rights problem and get "fixed" by granting rights, while a typo'd name that silently
 * ALLOWED would be a hole. Neither is acceptable — an unresolvable permission is a broken catalog
 * entry and says so.
 */
final class UnknownPermissionException extends RuntimeException
{
}
