| 400 | } |
| 401 | |
| 402 | export class OAuthCompleteError |
| 403 | extends Schema.TaggedErrorClass<OAuthCompleteError>()("OAuthCompleteError", { |
| 404 | message: Schema.String, |
| 405 | /** True when the auth-code exchange failed in a way the user must restart. */ |
| 406 | restartRequired: Schema.optional(Schema.Boolean), |
| 407 | }) |
| 408 | implements UserActionableError |
| 409 | { |
| 410 | readonly __executorUserActionable = true; |
| 411 | readonly code = "oauth_complete_error"; |
| 412 | |
| 413 | get userMessage(): string { |
| 414 | return this.message; |
| 415 | } |
| 416 | } |
| 417 | |
| 418 | export class OAuthProbeError |
| 419 | extends Schema.TaggedErrorClass<OAuthProbeError>()("OAuthProbeError", { |
nothing calls this directly
no outgoing calls
no test coverage detected