code: func isValidCredsMessage(msg string) error {
  	if credentials.IsCredentialsMissingServerURLMessage(msg) {
  		return credentials.NewErrCredentialsMissingServerURL()
  	}
  
  	if credentials.IsCredentialsMissingUsernameMessage(msg) {
  		return credentials.NewErrCredentialsMissingUsername()
  	}
  
  	return nil
  }
docs: // isValidCredsMessage checks if 'msg' contains invalid credentials error message.
  // It returns whether the logs are free of invalid credentials errors and the error if it isn't.
  // error values can be errCredentialsMissingServerURL or errCredentialsMissingUsername.