Initial Commit
This commit is contained in:
14
dependencies/amphp/socket/src/PendingReceiveError.php
vendored
Normal file
14
dependencies/amphp/socket/src/PendingReceiveError.php
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace WP_Ultimo\Dependencies\Amp\Socket;
|
||||
|
||||
/**
|
||||
* Thrown in case a second read operation is attempted while another receive operation is still pending.
|
||||
*/
|
||||
final class PendingReceiveError extends \Error
|
||||
{
|
||||
public function __construct(string $message = 'The previous receive operation must complete before receive can be called again', int $code = 0, \Throwable $previous = null)
|
||||
{
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user