src/Errors.php
public function getErrors()
    {
        $errors = [];

        foreach ($this->factories as $factory) {
            foreach ($factory->getErrors() as $code => $message) {
                $errors[$code] = $message;
            }
        }

        return $errors;
    }
public function getErrors()
    {
        $errors = [];

        foreach ($this->factories as $factory) {
            foreach ($factory->getErrors() as $code => $message) {
                $errors[$code] = $message;
            }
        }

        return $errors;
    }
Get errors

@return array