()
| 84 | } |
| 85 | |
| 86 | func (e *OAuthDeclinedError) Error() string { |
| 87 | if e.URL == "" { |
| 88 | return "OAuth authorization was declined or cancelled by the user" |
| 89 | } |
| 90 | return "OAuth authorization to " + e.URL + " was declined or cancelled by the user" |
| 91 | } |
| 92 | |
| 93 | // IsOAuthDeclined reports whether err (or any error wrapped by it) signals |
| 94 | // that the user explicitly declined or cancelled an interactive OAuth |
no outgoing calls