MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / OAuthCompleteError

Class OAuthCompleteError

packages/core/sdk/src/oauth-client.ts:464–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464export 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
480export class OAuthProbeError
481 extends Schema.TaggedErrorClass<OAuthProbeError>()("OAuthProbeError", {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected