src/Converter.php
protected function getDateExceptionMessage($details)
    {
        $errors = "Date/time problem: Details: ";
        if (is_array($details['errors']) && $details['error_count'] > 0) {
            foreach ($details['errors'] as $error) {
                $errors .= $error . " ";
            }
        } elseif (is_array($details['warnings'])) {
            foreach ($details['warnings'] as $warning) {
                $errors .= $warning . " ";
            }
        }
        return $errors;
    }
protected function getDateExceptionMessage($details)
    {
        $errors = "Date/time problem: Details: ";
        if (is_array($details['errors']) && $details['error_count'] > 0) {
            foreach ($details['errors'] as $error) {
                $errors .= $error . " ";
            }
        } elseif (is_array($details['warnings'])) {
            foreach ($details['warnings'] as $warning) {
                $errors .= $warning . " ";
            }
        }
        return $errors;
    }
protected function getDateExceptionMessage ( $ details ) { $ errors = "Date/time problem: Details: " ; if ( is_array ( $ details [ 'errors' ] ) && $ details [ 'error_count' ] > 0 ) { foreach ( $ details [ 'errors' ] as $ error ) { $ errors .= $ error . " " ; } } elseif ( is_array ( $ details [ 'warnings' ] ) ) { foreach ( $ details [ 'warnings' ] as $ warning ) { $ errors .= $ warning . " " ; } } return $ errors ; }
Build an exception message from a detailed error array.

@param array $details Error details

@return string
Build an exception message from a detailed error array .