for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Vasoft\VersionIncrement\Extension\Exception;
use Vasoft\VersionIncrement\Exceptions\UserException;
class FileNotFoundException extends UserException
{
private const CODE = 1;
public function __construct(string $fileName, int $errorCodeDelta, ?\Throwable $previous = null)
parent::__construct(self::CODE + $errorCodeDelta, "File not found: {$fileName}", $previous);
}