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
302 B
PHP
Raw Normal View History

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