1
0
mirror of https://github.com/danog/parallel.git synced 2025-01-22 05:51:14 +01:00
parallel/lib/WorkerException.php

14 lines
304 B
PHP
Raw Normal View History

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