cii-text-analysis/vendor/amphp/amp/lib/CancelledException.php
Jéremy Munsch f68d2ac333
premier poc
2026-02-11 08:24:04 +01:00

17 lines
341 B
PHP

<?php
namespace Amp;
/**
* Will be thrown in case an operation is cancelled.
*
* @see CancellationToken
* @see CancellationTokenSource
*/
class CancelledException extends \Exception
{
public function __construct(?\Throwable $previous = null)
{
parent::__construct("The operation was cancelled", 0, $previous);
}
}