/var/www/flurhymez/vendor/nesbot/carbon/src/Carbon/Exceptions
NameSizeModeActions
BadComparisonUnitException.php6590644editdlrm
BadFluentConstructorException.php7930644editdlrm
BadFluentSetterException.php7820644editdlrm
BadMethodCallException.php3180644editdlrm
Exception.php2870644editdlrm
ImmutableException.php7540644editdlrm
InvalidArgumentException.php3200644editdlrm
InvalidCastException.php7500644editdlrm
InvalidDateException.php13600644editdlrm
InvalidFormatException.php7520644editdlrm
InvalidIntervalException.php7540644editdlrm
InvalidPeriodDateException.php7560644editdlrm
InvalidPeriodParameterException.php7610644editdlrm
InvalidTimeZoneException.php7540644editdlrm
InvalidTypeException.php7500644editdlrm
NotACarbonClassException.php9080644editdlrm
NotAPeriodException.php7490644editdlrm
NotLocaleAwareException.php9290644editdlrm
OutOfRangeException.php19600644editdlrm
ParseErrorException.php9260644editdlrm
RuntimeException.php3120644editdlrm
UnitException.php7430644editdlrm
UnitNotConfiguredException.php6940644editdlrm
UnknownGetterException.php7780644editdlrm
UnknownMethodException.php7660644editdlrm
UnknownSetterException.php7760644editdlrm
UnknownUnitException.php6460644editdlrm
UnreachableException.php7180644editdlrm
Edit: /var/www/flurhymez/vendor/nesbot/carbon/src/Carbon/Exceptions/OutOfRangeException.php (1960B)
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Carbon\Exceptions; use Exception; use InvalidArgumentException as BaseInvalidArgumentException; // This will extends OutOfRangeException instead of InvalidArgumentException since 3.0.0 // use OutOfRangeException as BaseOutOfRangeException; class OutOfRangeException extends BaseInvalidArgumentException implements InvalidArgumentException { /** * The unit or name of the value. * * @var string */ private $unit; /** * The range minimum. * * @var mixed */ private $min; /** * The range maximum. * * @var mixed */ private $max; /** * The invalid value. * * @var mixed */ private $value; /** * Constructor. * * @param string $unit * @param mixed $min * @param mixed $max * @param mixed $value * @param int $code * @param Exception|null $previous */ public function __construct($unit, $min, $max, $value, $code = 0, Exception $previous = null) { $this->unit = $unit; $this->min = $min; $this->max = $max; $this->value = $value; parent::__construct("$unit must be between $min and $max, $value given", $code, $previous); } /** * @return mixed */ public function getMax() { return $this->max; } /** * @return mixed */ public function getMin() { return $this->min; } /** * @return mixed */ public function getUnit() { return $this->unit; } /** * @return mixed */ public function getValue() { return $this->value; } }