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