func (m *MockHTTPTransport) Error(index int) error {
	if len(m.errors) < index {
		return nil
	}
	return m.errors[index]
}
// Error returns the error for the given index. If there are less errors than
// the index nil is returned.
Error returns the error for the given index. If there are less errors than
the index nil is returned.
// Error returns the error for the given index . If there are less errors than // the index nil is returned .
func (m *MockHTTPTransport) Error(index int) error {
	if len(m.errors) < index {
		return nil
	}
	return m.errors[index]
}
func ( m * MockHTTPTransport ) Error ( index int ) error { if len ( m . errors ) < index { return nil } return m . errors [ index ] }
Error returns the error for the given index.
Error returns the error for the given index .