404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.147.60.193: ~ $
<?php

declare(strict_types=1);

namespace Doctrine\DBAL\Driver\PDO;

use Doctrine\DBAL\Driver\Exception as DriverException;

/**
 * @internal
 *
 * @psalm-immutable
 */
final class PDOException extends \PDOException implements DriverException
{
    private ?string $sqlState = null;

    public static function new(\PDOException $previous): self
    {
        $exception = new self($previous->message, 0, $previous);

        $exception->errorInfo = $previous->errorInfo;
        $exception->code      = $previous->code;
        $exception->sqlState  = $previous->errorInfo[0] ?? null;

        return $exception;
    }

    public function getSQLState(): ?string
    {
        return $this->sqlState;
    }
}

Filemanager

Name Type Size Permission Actions
MySQL Folder 0755
OCI Folder 0755
PgSQL Folder 0755
SQLSrv Folder 0755
SQLite Folder 0755
Connection.php File 3.89 KB 0644
Exception.php File 617 B 0644
PDOException.php File 711 B 0644
ParameterTypeMap.php File 1.07 KB 0644
Result.php File 2.43 KB 0644
Statement.php File 3.67 KB 0644