File "UodbcException.php"

Full path: E:/sites/Single15/tinmung2007/webroot/XAMMP/phpMyAdmin/vendor/thecodingmachine/safe/generated/Exceptions/UodbcException.php
File size: 308 B
MIME-type:
Charset: utf-8

Download   Open   Back

<?php
namespace Safe\Exceptions;

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

PHP File Manager