Debian Codegraph @

lib/3rdParty/composer/web-auth/webauthn-lib/src/Exception/InvalidCertificateException.php

raw symbols SCIP
1 <?php
2
3 declare(strict_types=1);
4
5 namespace Webauthn\Exception;
6
7 use Throwable;
8
9 final class InvalidCertificateException extends MetadataServiceException
10 {
11 public function __construct(
12 public readonly string $certificate,
13 string $message,
14 ?Throwable $previous = null
15 ) {
16 parent::__construct($message, $previous);
17 }
18
19 public static function create(string $certificate, string $message, ?Throwable $previous = null): self
20 {
21 return new self($certificate, $message, $previous);
22 }
23 }