Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 8 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| CouldNotUpdateDatabaseAutomatically | |
0.00% |
0 / 8 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 8 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | namespace Apie\DoctrineEntityDatalayer\Exceptions; |
| 3 | |
| 4 | use Apie\Core\Exceptions\ApieException; |
| 5 | use Doctrine\DBAL\Exception\DriverException; |
| 6 | |
| 7 | class CouldNotUpdateDatabaseAutomatically extends ApieException |
| 8 | { |
| 9 | public function __construct(DriverException $previous) |
| 10 | { |
| 11 | parent::__construct( |
| 12 | sprintf( |
| 13 | 'Could not update database automatically: "%s"', |
| 14 | $previous->getMessage() |
| 15 | ), |
| 16 | 0, |
| 17 | $previous |
| 18 | ); |
| 19 | } |
| 20 | } |