1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-02 17:52:14 +01:00
parallel/lib/WorkerException.php

14 lines
331 B
PHP
Raw Normal View History

2016-08-22 06:40:48 +02:00
<?php declare(strict_types = 1);
2016-08-18 18:04:48 +02:00
namespace Amp\Concurrent;
class WorkerException extends \Exception {
/**
* @param string $message
2016-01-26 06:02:22 +01:00
* @param \Throwable|null $previous
*/
2016-08-18 18:04:48 +02:00
public function __construct(string $message, \Throwable $previous = null) {
parent::__construct($message, 0, $previous);
}
}