JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "ConstraintViolation.php"
Full Path: /home/palsarh/web/palsarh.in/public_html/vendor/lcobucci/jwt/src/Validation/ConstraintViolation.php
File size: 642 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
declare(strict_types=1);
namespace Lcobucci\JWT\Validation;
use Lcobucci\JWT\Exception;
use RuntimeException;
final class ConstraintViolation extends RuntimeException implements Exception
{
/** @param class-string<Constraint>|null $constraint */
public function __construct(
string $message = '',
public readonly ?string $constraint = null,
) {
parent::__construct($message);
}
/** @param non-empty-string $message */
public static function error(string $message, Constraint $constraint): self
{
return new self(message: $message, constraint: $constraint::class);
}
}