Commit 22a3c4d
committed
github: Add ErrNoVerifiedGitHubPrimaryEmail error
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.1 parent 8333bec commit 22a3c4d
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
| |||
207 | 212 | | |
208 | 213 | | |
209 | 214 | | |
210 | | - | |
| 215 | + | |
211 | 216 | | |
212 | 217 | | |
213 | 218 | | |
| |||
0 commit comments