mirror of
https://github.com/danog/parallel.git
synced 2024-12-02 09:37:57 +01:00
16 lines
313 B
PHP
16 lines
313 B
PHP
<?php
|
|
|
|
namespace Amp\Parallel\Worker;
|
|
|
|
class WorkerException extends \Exception
|
|
{
|
|
/**
|
|
* @param string $message
|
|
* @param \Throwable|null $previous
|
|
*/
|
|
public function __construct(string $message, \Throwable $previous = null)
|
|
{
|
|
parent::__construct($message, 0, $previous);
|
|
}
|
|
}
|