Bluz\Validator\Validator::setError PHP Method

setError() public method

Set error template for complex rule
public setError ( string $message ) : Validator
$message string
return Validator
    public function setError($message)
    {
        $this->error = $message;
        return $this;
    }