1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-07-07 13:40:53 +02:00
ttrss/vendor/thecodingmachine/safe/lib/Exceptions/OpensslException.php

13 lines
241 B
PHP
Raw Normal View History

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