for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the browscap-php package.
*
* Copyright (c) 1998-2017, Browser Capabilities Project
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types = 1);
namespace BrowscapPHP\Exception;
* Exception to handle errors while reading a log file
final class ReaderException extends DomainException
{
public static function userAgentParserError(string $line) : self
return new self(sprintf('Cannot extract user agent string from line "%s"', $line));
}