| 462 | } |
| 463 | |
| 464 | export class OAuthCompleteError |
| 465 | extends Schema.TaggedErrorClass<OAuthCompleteError>()("OAuthCompleteError", { |
| 466 | message: Schema.String, |
| 467 | /** True when the auth-code exchange failed in a way the user must restart. */ |
| 468 | restartRequired: Schema.optional(Schema.Boolean), |
| 469 | }) |
| 470 | implements UserActionableError |
| 471 | { |
| 472 | readonly __executorUserActionable = true; |
| 473 | readonly code = "oauth_complete_error"; |
| 474 | |
| 475 | get userMessage(): string { |
| 476 | return this.message; |
| 477 | } |
| 478 | } |
| 479 | |
| 480 | export class OAuthProbeError |
| 481 | extends Schema.TaggedErrorClass<OAuthProbeError>()("OAuthProbeError", { |
nothing calls this directly
no outgoing calls
no test coverage detected