public function errors($options = [])
    {
        $errors = [];
        $errored = false;
        foreach ($this as $entity) {
            $result = $entity->errors($options);
            $errors[] = $result;
            if ($result) {
                $errored = true;
            }
        }
        return $errored ? $errors : [];
    }
public function errors($options = [])
    {
        $errors = [];
        $errored = false;
        foreach ($this as $entity) {
            $result = $entity->errors($options);
            $errors[] = $result;
            if ($result) {
                $errored = true;
            }
        }
        return $errored ? $errors : [];
    }
public function errors ( $ options = [ ] ) { $ errors = [ ] ; $ errored = false ; foreach ( $ this as $ entity ) { $ result = $ entity -> errors ( $ options ) ; $ errors [ ] = $ result ; if ( $ result ) { $ errored = true ; } } return $ errored ? $ errors : [ ] ; }
Returns the errors from the last validate call.

@return array The occured errors.
Returns the errors from the last validate call .