for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Borobudur-Config package.
*
* (c) Hexacodelabs <http://hexacodelabs.com>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Borobudur\Config\Exception;
/**
* @author Iqbal Maulana <[email protected]>
* @created 8/10/15
class InvalidConfigurationException extends \Exception
{
* Invalid finalize range value.
* @param string $type
* @param string $path
* @param int|float $typeValue
* @param int|float $value
* @return InvalidConfigurationException
public static function invalidFinalizeRangeValue($type, $path, $typeValue, $value)
return new self(sprintf('%s value for "%s" is "%d", but got "%d".', $type, $path, $typeValue, $value));
}