1
0
mirror of https://github.com/danog/postgres.git synced 2024-11-30 04:29:12 +01:00

Remove unused exception classes

This commit is contained in:
Aaron Piotrowski 2018-07-02 18:45:09 -05:00
parent 2dd4c45b2a
commit deaab66cbb
No known key found for this signature in database
GPG Key ID: ADD1EF783EDE9EEB
4 changed files with 2 additions and 15 deletions

View File

@ -1,7 +0,0 @@
<?php
namespace Amp\Postgres;
final class PoolError extends \Error
{
}

View File

@ -5,6 +5,7 @@ namespace Amp\Postgres;
use Amp\Promise;
use Amp\Sql\Operation;
use Amp\Sql\Transaction as SqlTransaction;
use Amp\Sql\TransactionError;
final class Transaction implements Handle, SqlTransaction
{

View File

@ -1,7 +0,0 @@
<?php
namespace Amp\Postgres;
class TransactionError extends \Error
{
}

View File

@ -10,12 +10,12 @@ use Amp\Postgres\Listener;
use Amp\Postgres\QueryExecutionError;
use Amp\Postgres\ResultSet;
use Amp\Postgres\Transaction;
use Amp\Postgres\TransactionError;
use Amp\Sql\CommandResult;
use Amp\Sql\QueryError;
use Amp\Sql\ResultSet as SqlResultSet;
use Amp\Sql\Statement;
use Amp\Sql\Transaction as SqlTransaction;
use Amp\Sql\TransactionError;
use PHPUnit\Framework\TestCase;
abstract class AbstractLinkTest extends TestCase