You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tt-rss/vendor/thecodingmachine/safe/lib/Exceptions/OpensslException.php

13 lines
241 B
PHP

<?php
namespace Safe\Exceptions;
class OpensslException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\openssl_error_string() ?: '', 0);
}
}