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

Class OAuthCompleteError

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

Source from the content-addressed store, hash-verified

455}
456
457export 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
473export class OAuthProbeError
474 extends Schema.TaggedErrorClass<OAuthProbeError>()("OAuthProbeError", {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected