File "EioException.php"
Full path: E:/sites/Single15/tinmung2007/webroot/XAMMP/phpMyAdmin/vendor/thecodingmachine/safe/generated/Exceptions/EioException.php
File size: 306 B
MIME-type:
Charset: utf-8
<?php
namespace Safe\Exceptions;
class EioException extends \ErrorException implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
$error = error_get_last();
return new self($error['message'] ?? 'An error occured', 0, $error['type'] ?? 1);
}
}