private function showPermissionError(PermissionError $e)
    {
        if (PHP_SAPI !== "cli")
        {
            http_response_code(500);
            header("Content-type: text/plain");
        }

        if ($this->dev)
        {
            $file = $e->path;
            echo "{$e->getMessage()}\n";
            echo "\n";
            echo WF::str($e, false);
        }
        else
        {
            echo "A permission error is preventing this page from displaying properly.";
        }
        die();
    }