mirror of
https://github.com/danog/postgres.git
synced 2024-11-30 04:29:12 +01:00
e0a842bad7
Pools can still be used for concurrent ops.
13 lines
331 B
PHP
13 lines
331 B
PHP
<?php
|
|
|
|
namespace Amp\Postgres;
|
|
|
|
class PendingOperationError extends \Error {
|
|
public function __construct(
|
|
string $message = "The previous operation must complete before starting another",
|
|
int $code = 0,
|
|
\Throwable $previous = null
|
|
) {
|
|
parent::__construct($message, $code, $previous);
|
|
}
|
|
} |