Files
kulakpos_web/vendor/thecodingmachine/safe/lib/Exceptions/OpensslException.php

12 lines
240 B
PHP
Raw Normal View History

2026-03-30 14:54:57 +07:00
<?php
namespace Safe\Exceptions;
class OpensslException extends \Exception implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
return new self(\openssl_error_string() ?: '', 0);
}
}