for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Remorhaz\UCD\Tool\Exception;
use RuntimeException;
use Throwable;
final class LineNotReadException extends RuntimeException implements ExceptionInterface
{
/**
* @var string
*/
private $fileName;
public function __construct(string $fileName, Throwable $previous = null)
$this->fileName = $fileName;
parent::__construct("Failed reading line from file: {$this->fileName}", 0, $previous);
}
public function getFileName(): string
return $this->fileName;