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

Class OAuthCompleteError

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

Source from the content-addressed store, hash-verified

419}
420
421export class OAuthCompleteError
422 extends Schema.TaggedErrorClass<OAuthCompleteError>()("OAuthCompleteError", {
423 message: Schema.String,
424 /** True when the auth-code exchange failed in a way the user must restart. */
425 restartRequired: Schema.optional(Schema.Boolean),
426 })
427 implements UserActionableError
428{
429 readonly __executorUserActionable = true;
430 readonly code = "oauth_complete_error";
431
432 get userMessage(): string {
433 return this.message;
434 }
435}
436
437export class OAuthProbeError
438 extends Schema.TaggedErrorClass<OAuthProbeError>()("OAuthProbeError", {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected