1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-02 17:52:14 +01:00
parallel/lib/Exception/WorkerException.php

15 lines
341 B
PHP
Raw Normal View History

<?php
namespace Icicle\Concurrent\Exception;
class WorkerException extends \Exception implements Exception
{
/**
* @param string $message
2016-01-26 06:02:22 +01:00
* @param \Throwable|null $previous
*/
2016-01-26 06:02:22 +01:00
public function __construct(string $message, \Throwable $previous = null)
{
parent::__construct($message, 0, $previous);
}
}