1
0
mirror of https://github.com/danog/file.git synced 2024-11-30 04:19:39 +01:00
file/lib/PendingOperationError.php
Aaron Piotrowski 9e7c1c1488
Forbid simultaneous conflicting ops
Signficantly refactored EioHandle and UvHandle.
2017-06-20 00:17:07 -05:00

14 lines
339 B
PHP

<?php
namespace Amp\File;
class PendingOperationError extends \Error {
public function __construct(
string $message = "The previous file operation must complete before another can be started",
int $code = 0,
\Throwable $previous = null
) {
parent::__construct($message, $code, $previous);
}
}