| 204 | } |
| 205 | |
| 206 | export class OAuthCompleteError |
| 207 | extends Schema.TaggedErrorClass<OAuthCompleteError>()("OAuthCompleteError", { |
| 208 | message: Schema.String, |
| 209 | /** True when the auth-code exchange failed in a way the user must restart. */ |
| 210 | restartRequired: Schema.optional(Schema.Boolean), |
| 211 | }) |
| 212 | implements UserActionableError |
| 213 | { |
| 214 | readonly __executorUserActionable = true; |
| 215 | readonly code = "oauth_complete_error"; |
| 216 | |
| 217 | get userMessage(): string { |
| 218 | return this.message; |
| 219 | } |
| 220 | } |
| 221 | |
| 222 | export class OAuthProbeError |
| 223 | extends Schema.TaggedErrorClass<OAuthProbeError>()("OAuthProbeError", { |
nothing calls this directly
no outgoing calls
no test coverage detected