<?php

declare (strict_types=1);
namespace GuardDog\Vendor\Webauthn\AuthenticationExtensions;

use Exception;
use Throwable;
class ExtensionOutputError extends Exception
{
    public function __construct(public readonly AuthenticationExtension $authenticationExtension, string $message = '', int $code = 0, ?Throwable $previous = null)
    {
        parent::__construct($message, $code, $previous);
    }
    /**
     * @deprecated since 4.7.0. Please use the property directly.
     * @infection-ignore-all
     */
    public function getAuthenticationExtension(): AuthenticationExtension
    {
        return $this->authenticationExtension;
    }
}
