| 290 | } |
| 291 | |
| 292 | export class OAuthCompleteError |
| 293 | extends Schema.TaggedErrorClass<OAuthCompleteError>()("OAuthCompleteError", { |
| 294 | message: Schema.String, |
| 295 | /** True when the auth-code exchange failed in a way the user must restart. */ |
| 296 | restartRequired: Schema.optional(Schema.Boolean), |
| 297 | }) |
| 298 | implements UserActionableError |
| 299 | { |
| 300 | readonly __executorUserActionable = true; |
| 301 | readonly code = "oauth_complete_error"; |
| 302 | |
| 303 | get userMessage(): string { |
| 304 | return this.message; |
| 305 | } |
| 306 | } |
| 307 | |
| 308 | export class OAuthProbeError |
| 309 | extends Schema.TaggedErrorClass<OAuthProbeError>()("OAuthProbeError", { |
nothing calls this directly
no outgoing calls
no test coverage detected