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 FileNotWritableException extends UserException
{
private const CODE = 2;
public function __construct(string $fileName, int $errorCodeDelta, ?\Throwable $previous = null)
parent::__construct(self::CODE + $errorCodeDelta, "File not writable: {$fileName}", $previous);
}