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

16 lines
313 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
2018-10-07 16:50:45 +02:00
class WorkerException extends \Exception
{
/**
* @param string $message
2016-01-26 06:02:22 +01:00
* @param \Throwable|null $previous
*/
2018-10-07 16:50:45 +02:00
public function __construct(string $message, \Throwable $previous = null)
{
parent::__construct($message, 0, $previous);
}
}