CoreFiles by mySites.guru
CannotEncodeContent.php20 lines, 420 bytes, from Joomla_4.2.0-beta3-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta2
md5
fcbc607988870901111db2f0ce7deb26
sha1
bf2e9fca02e3e5aeffd8bbc0dd794ee7cbbd1278
sha256
85cba8584c2b4ab89c4930e0ed45f5d1fccddc6990c3f7d67488a522dccce79e
<?php

namespace Lcobucci\JWT\Encoding;

use JsonException;
use Lcobucci\JWT\Exception;
use RuntimeException;

final class CannotEncodeContent extends RuntimeException implements Exception
{
    /**
     * @param JsonException $previous
     *
     * @return self
     */
    public static function jsonIssues(JsonException $previous)
    {
        return new self('Error while encoding to JSON', 0, $previous);
    }
}

The same content is in 75 releases, Joomla 4.2.0-beta3 to 4.4.14. See them all, or every version of this file.