1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-12 09:09:35 +01:00
parallel/lib/Worker/WorkerException.php

14 lines
309 B
PHP
Raw Normal View History

2016-12-30 02:16:04 +01:00
<?php
namespace Amp\Parallel\Worker;
2016-08-18 18:04:48 +02:00
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);
}
}