mirror of
https://github.com/danog/parallel.git
synced 2024-12-11 16:49:51 +01:00
14 lines
329 B
PHP
14 lines
329 B
PHP
<?php declare(strict_types = 1);
|
|
|
|
namespace Amp\Parallel;
|
|
|
|
class WorkerException extends \Exception {
|
|
/**
|
|
* @param string $message
|
|
* @param \Throwable|null $previous
|
|
*/
|
|
public function __construct(string $message, \Throwable $previous = null) {
|
|
parent::__construct($message, 0, $previous);
|
|
}
|
|
}
|