<?php

/**
 * ValidatorException - Custom exception class for the PHPValidator package.
 *
 * @package BlakvGhost\PHPValidator
 * @author Kabirou ALASSANE
 * @website https://kabirou-alassane.com
 * @github https://github.com/BlakvGhost
 */

namespace BlakvGhost\PHPValidator;

class ValidatorException extends \Exception
{
    /**
     * Constructor of the ValidatorException class.
     *
     * @param string $msg Exception message.
     * @param int $code Exception code.
     */
    public function __construct($msg = "", $code = 4004)
    {
        // Call the parent constructor with the provided message and code.
        parent::__construct($msg, $code);
    }
}
