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

Class OrgWriteDeniedError

packages/core/sdk/src/errors.ts:158–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156 * refresh, catalog re-sync) are unaffected; only the user-intent settings
157 * surfaces raise this. */
158export class OrgWriteDeniedError
159 extends Schema.TaggedErrorClass<OrgWriteDeniedError>()(
160 "OrgWriteDeniedError",
161 {},
162 { httpApiStatus: 403 },
163 )
164 implements UserActionableError
165{
166 readonly __executorUserActionable = true;
167 readonly code = "org_write_denied";
168
169 override get message(): string {
170 return "Adding connections or changing workspace settings requires a workspace admin.";
171 }
172
173 get userMessage(): string {
174 return this.message;
175 }
176}
177
178export class ConnectionNotFoundError extends Schema.TaggedErrorClass<ConnectionNotFoundError>()(
179 "ConnectionNotFoundError",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected