protected function handleValidationException(NestedValidationException $e, Configuration $config, array $messages = [])
    {
        if ($config->hasMessage()) {
            $this->setErrors([$config->getMessage()], $config->getKey(), $config->getGroup());
        } else {
            $this->storeErrors($e, $config, $messages);
        }
    }
protected function handleValidationException(NestedValidationException $e, Configuration $config, array $messages = [])
    {
        if ($config->hasMessage()) {
            $this->setErrors([$config->getMessage()], $config->getKey(), $config->getGroup());
        } else {
            $this->storeErrors($e, $config, $messages);
        }
    }
protected function handleValidationException ( NestedValidationException $ e , Configuration $ config , array $ messages = [ ] ) { if ( $ config -> hasMessage ( ) ) { $ this -> setErrors ( [ $ config -> getMessage ( ) ] , $ config -> getKey ( ) , $ config -> getGroup ( ) ) ; } else { $ this -> storeErrors ( $ e , $ config , $ messages ) ; } }
Handles a validation exception.

@param NestedValidationException $e
@param Configuration             $config
@param string[]                  $messages
Handles a validation exception .