for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace kartavik\Support\Exception;
use kartavik\Support\Exception;
/**
* Class Validation
* @package kartavik\Support\Exception
*/
class Validation extends \RuntimeException implements Exception
{
protected $var;
public function __construct(
$var = null,
string $message = "",
int $code = 0,
\Throwable $previous = null
) {
$this->var = $var;
parent::__construct($message, $code, $previous);
}
public function getVar()
return $this->var;