| 156 | * refresh, catalog re-sync) are unaffected; only the user-intent settings |
| 157 | * surfaces raise this. */ |
| 158 | export 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 | |
| 178 | export class ConnectionNotFoundError extends Schema.TaggedErrorClass<ConnectionNotFoundError>()( |
| 179 | "ConnectionNotFoundError", |
nothing calls this directly
no outgoing calls
no test coverage detected