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

Class OAuthCompleteError

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

Source from the content-addressed store, hash-verified

290}
291
292export class OAuthCompleteError
293 extends Schema.TaggedErrorClass<OAuthCompleteError>()("OAuthCompleteError", {
294 message: Schema.String,
295 /** True when the auth-code exchange failed in a way the user must restart. */
296 restartRequired: Schema.optional(Schema.Boolean),
297 })
298 implements UserActionableError
299{
300 readonly __executorUserActionable = true;
301 readonly code = "oauth_complete_error";
302
303 get userMessage(): string {
304 return this.message;
305 }
306}
307
308export class OAuthProbeError
309 extends Schema.TaggedErrorClass<OAuthProbeError>()("OAuthProbeError", {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected