astehlik/typo3-extension-mediaoembed

View on GitHub
Classes/Exception/HttpClientRequestException.php

Summary

Maintainability
A
0 mins
Test Coverage
F
50%
<?php

declare(strict_types=1);

namespace Sto\Mediaoembed\Exception;

class HttpClientRequestException extends \RuntimeException
{
    /**
     * @deprecated The param $errorDetails is ignored and will be removed in version 12.0.0.
     */
    public function __construct(string $message, int $httpCode, \Throwable $previous = null, string $errorDetails = '')
    {
        parent::__construct($message, $httpCode, $previous);
    }

    /**
     * @deprecated Not used any more, will always return an empty string. Will be removed in version 12.0.0.
     */
    public function getErrorDetails(): string
    {
        return '';
    }
}