Files
arif_grafin/pma/vendor/thecodingmachine/safe/lib/Exceptions/OpensslException.php
dev@siliconpin.com a3067c5ad4 first commit
2025-08-07 11:53:41 +05:30

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);
}
}