Your IP : 216.73.216.65


Current Path : /home/ataenra/www/libraries/vendor/lcobucci/jwt/src/Signer/
Upload File :
Current File : /home/ataenra/www/libraries/vendor/lcobucci/jwt/src/Signer/CannotSignPayload.php

<?php

namespace Lcobucci\JWT\Signer;

use InvalidArgumentException;
use Lcobucci\JWT\Exception;

final class CannotSignPayload extends InvalidArgumentException implements Exception
{
    /**
     * @pararm string $error
     *
     * @return self
     */
    public static function errorHappened($error)
    {
        return new self('There was an error while creating the signature: ' . $error);
    }
}