src/classes/CCValidator.php
public function add_error( $key, $message )
	{
		$this->success = false;
		$this->errors[$key][] = $message;
	}
public function add_error( $key, $message )
	{
		$this->success = false;
		$this->errors[$key][] = $message;
	}
public function add_error ( $ key , $ message ) { $ this -> success = false ; $ this -> errors [ $ key ] [ ] = $ message ; }
Add an error to validator

@param string			$key
@param string			$message
@return void
Add an error to validator