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

Class OAuthCompleteError

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

Source from the content-addressed store, hash-verified

209}
210
211export class OAuthCompleteError
212 extends Schema.TaggedErrorClass<OAuthCompleteError>()("OAuthCompleteError", {
213 message: Schema.String,
214 /** True when the auth-code exchange failed in a way the user must restart. */
215 restartRequired: Schema.optional(Schema.Boolean),
216 })
217 implements UserActionableError
218{
219 readonly __executorUserActionable = true;
220 readonly code = "oauth_complete_error";
221
222 get userMessage(): string {
223 return this.message;
224 }
225}
226
227export class OAuthProbeError
228 extends Schema.TaggedErrorClass<OAuthProbeError>()("OAuthProbeError", {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected