| Total Complexity | 3 | 
| Total Lines | 36 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 14 | class DriverException extends DBALException implements DriverExceptionInterface  | 
            ||
| 15 | { | 
            ||
| 16 | /**  | 
            ||
| 17 | * The previous DBAL driver exception.  | 
            ||
| 18 | *  | 
            ||
| 19 | * @var DriverExceptionInterface  | 
            ||
| 20 | */  | 
            ||
| 21 | private $driverException;  | 
            ||
| 22 | |||
| 23 | /**  | 
            ||
| 24 | * @param string $message The exception message.  | 
            ||
| 25 | * @param DriverExceptionInterface $driverException The DBAL driver exception to chain.  | 
            ||
| 26 | */  | 
            ||
| 27 | 3104 | public function __construct(string $message, DriverExceptionInterface $driverException)  | 
            |
| 40 | 3104 | }  | 
            |
| 41 | |||
| 42 | /**  | 
            ||
| 43 | * Returns the SQLSTATE the driver was in at the time the error occurred, if given.  | 
            ||
| 44 | *  | 
            ||
| 45 | * Returns null if no SQLSTATE was given by the driver.  | 
            ||
| 46 | */  | 
            ||
| 47 | 2808 | public function getSQLState() : ?string  | 
            |
| 52 |