File "CannotSignPayload.php"
Full path: /home/orbitecv/orbite-school.orbit.et/vendor/lcobucci/jwt/src/Signer/CannotSignPayload.php
File size: 371 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Edit Back
<?php
declare(strict_types=1);
namespace Lcobucci\JWT\Signer;
use InvalidArgumentException;
use Lcobucci\JWT\Exception;
final class CannotSignPayload extends InvalidArgumentException implements Exception
{
public static function errorHappened(string $error): self
{
return new self('There was an error while creating the signature:' . $error);
}
}