src/Ouzo/Core/Validatable.php
public function errors(array $errors, $code = 0)
    {
        foreach ($errors as $error) {
            $this->error($error, $code);
        }
    }
public function errors(array $errors, $code = 0)
    {
        foreach ($errors as $error) {
            $this->error($error, $code);
        }
    }
public function errors ( array $ errors , $ code = 0 ) { foreach ( $ errors as $ error ) { $ this -> error ( $ error , $ code ) ; } }
Method for batch adding errors manually
@param array $errors - array of \Ouzo\ExceptionHandling\Error instaces or new error messages
@param int $code
Method for batch adding errors manually