| 419 | } |
| 420 | |
| 421 | export class OAuthCompleteError |
| 422 | extends Schema.TaggedErrorClass<OAuthCompleteError>()("OAuthCompleteError", { |
| 423 | message: Schema.String, |
| 424 | /** True when the auth-code exchange failed in a way the user must restart. */ |
| 425 | restartRequired: Schema.optional(Schema.Boolean), |
| 426 | }) |
| 427 | implements UserActionableError |
| 428 | { |
| 429 | readonly __executorUserActionable = true; |
| 430 | readonly code = "oauth_complete_error"; |
| 431 | |
| 432 | get userMessage(): string { |
| 433 | return this.message; |
| 434 | } |
| 435 | } |
| 436 | |
| 437 | export class OAuthProbeError |
| 438 | extends Schema.TaggedErrorClass<OAuthProbeError>()("OAuthProbeError", { |
nothing calls this directly
no outgoing calls
no test coverage detected