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

Class OAuthCompleteError

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

Source from the content-addressed store, hash-verified

400}
401
402export 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
418export class OAuthProbeError
419 extends Schema.TaggedErrorClass<OAuthProbeError>()("OAuthProbeError", {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected