src/Validation.php
public function getErrorsFlat() {
        $result = [];
        foreach ($this->errors as $errors) {
            foreach ($errors as $error) {
                $result[] = $error;
            }
        }
        return $result;
    }
public function getErrorsFlat() {
        $result = [];
        foreach ($this->errors as $errors) {
            foreach ($errors as $error) {
                $result[] = $error;
            }
        }
        return $result;
    }
Gets all of the errors as a flat array.

The errors are internally stored indexed by field. This method flattens them for final error returns.

@return array Returns all of the errors.