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

Class OAuthCompleteError

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected