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

Class OAuthCompleteError

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

Source from the content-addressed store, hash-verified

217}
218
219export class OAuthCompleteError
220 extends Schema.TaggedErrorClass<OAuthCompleteError>()("OAuthCompleteError", {
221 message: Schema.String,
222 /** True when the auth-code exchange failed in a way the user must restart. */
223 restartRequired: Schema.optional(Schema.Boolean),
224 })
225 implements UserActionableError
226{
227 readonly __executorUserActionable = true;
228 readonly code = "oauth_complete_error";
229
230 get userMessage(): string {
231 return this.message;
232 }
233}
234
235export class OAuthProbeError
236 extends Schema.TaggedErrorClass<OAuthProbeError>()("OAuthProbeError", {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected