1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-12 09:09:35 +01:00
parallel/lib/Sync/ChannelException.php
Aaron Piotrowski c7294da60d Reorganize exception classes and add TaskError
TaskError is thrown if the exception thrown in the worker was an instance of Error.
2017-05-17 23:13:29 -05:00

10 lines
222 B
PHP

<?php
namespace Amp\Parallel\Sync;
class ChannelException extends \Exception {
public function __construct(string $message, \Throwable $previous = null) {
parent::__construct($message, 0, $previous);
}
}