mirror of
https://github.com/danog/ipc.git
synced 2024-11-30 04:29:09 +01:00
18 lines
457 B
PHP
18 lines
457 B
PHP
<?php
|
|
|
|
namespace Amp\Ipc;
|
|
|
|
/**
|
|
* Thrown in case a second read operation is attempted while another read operation is still pending.
|
|
*/
|
|
final class PendingAcceptError extends \Error
|
|
{
|
|
public function __construct(
|
|
string $message = 'The previous accept operation must complete before accept can be called again',
|
|
int $code = 0,
|
|
\Throwable $previous = null
|
|
) {
|
|
parent::__construct($message, $code, $previous);
|
|
}
|
|
}
|