Add a ErrNoVerifiedGitHubPrimaryEmail error to FetchUser() function so that callers have the chance to handle the error explicitly. For example, instead of forwarding the error message, we can more easily direct users to a HTML page explaining the problem.
Add a
ErrNoVerifiedGitHubPrimaryEmail
error to FetchUser() function so that callers have the chance to handle the error explicitly. For example, instead of forwarding the error message, we can more easily direct users to a HTML page explaining the problem.