public function __construct(string $path) { parent::__construct(sprintf('"%s" exists but is not a directory', $path)); }