# Schemas: source-control-gitlab

> T3 Code · channel `stable` · v0.1.14 @ [`c0eed7328db2`](https://github.com/pingdotgg/t3code/tree/c0eed7328db2609e5a535be704e90638aef1c111) · 2026-12-05 · generated by Everdoc from source (no LLM).

22 entries.

<a id="schema-gitlabbranchdeletionrefusederror"></a>

## `GitLabBranchDeletionRefusedError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts:278](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts#L278-L311)
- Shape: `{ _tag: "GitLabBranchDeletionRefusedError"; command: "glab"; cwd: string; number: number; reason: "open" | "not-allowed" | "source-unavailable" | "default-branch" | "head-changed" }`

<a id="schema-gitlabcliauthenticationerror"></a>

## `GitLabCliAuthenticationError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabCli.ts:66](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabCli.ts#L66-L77)
- Shape: `{ _tag: "GitLabCliAuthenticationError" }`

<a id="schema-gitlabclicommanderror"></a>

## `GitLabCliCommandError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabCli.ts:131](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabCli.ts#L131-L175)
- Shape: `{ _tag: "GitLabCliCommandError"; operation: "execute"; command: "glab"; cwd: string; cause: unknown; userFacingDetail?: string }`

<a id="schema-gitlabclierror"></a>

## `GitLabCliError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabCli.ts:267](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabCli.ts#L267-L278)
- Shape: `GitLabCliUnavailableError | GitLabCliAuthenticationError | GitLabCliRateLimitError | GitLabMergeRequestNotFoundError | GitLabCliCommandError | GitLabMergeRequestListDecodeError | GitLabMergeRequestDecodeError | GitLabRepositoryDecodeError | GitLabNamespaceDecodeError | GitLabMergeRequestBodyReadError`

<a id="schema-gitlabcliratelimiterror"></a>

## `GitLabCliRateLimitError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabCli.ts:79](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabCli.ts#L79-L90)
- Shape: `{ _tag: "GitLabCliRateLimitError" }`

<a id="schema-gitlabcliunavailableerror"></a>

## `GitLabCliUnavailableError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabCli.ts:53](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabCli.ts#L53-L64)
- Shape: `{ _tag: "GitLabCliUnavailableError" }`

<a id="schema-gitlabdiffcommiterror"></a>

## `GitLabDiffCommitError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts:197](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts#L197-L211)
- Shape: `{ _tag: "GitLabDiffCommitError"; command: "glab"; cwd: string }`

<a id="schema-gitlabdiffcommitparentunavailableerror"></a>

## `GitLabDiffCommitParentUnavailableError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts:213](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts#L213-L228)
- Shape: `{ _tag: "GitLabDiffCommitParentUnavailableError"; command: "glab"; cwd: string; commit: string }`

<a id="schema-gitlabdiffcursorerror"></a>

## `GitLabDiffCursorError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts:181](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts#L181-L195)
- Shape: `{ _tag: "GitLabDiffCursorError"; command: "glab"; cwd: string }`

<a id="schema-gitlabdifffilecontentsunavailableerror"></a>

## `GitLabDiffFileContentsUnavailableError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts:230](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts#L230-L248)
- Shape: `{ _tag: "GitLabDiffFileContentsUnavailableError"; command: "glab"; cwd: string; path: string; reason: "oversized" | "binary" }`

<a id="schema-gitlabdiffrefsunavailableerror"></a>

## `GitLabDiffRefsUnavailableError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts:144](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts#L144-L159)
- Shape: `{ _tag: "GitLabDiffRefsUnavailableError"; command: "glab"; cwd: string; number: number }`

<a id="schema-gitlabmergerequestbodyreaderror"></a>

## `GitLabMergeRequestBodyReadError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabCli.ts:249](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabCli.ts#L249-L265)
- Shape: `{ _tag: "GitLabMergeRequestBodyReadError"; operation: "createMergeRequest"; command: "glab"; cwd: string; cause: unknown }`

<a id="schema-gitlabmergerequestdecodeerror"></a>

## `GitLabMergeRequestDecodeError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabCli.ts:193](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabCli.ts#L193-L208)
- Shape: `{ _tag: "GitLabMergeRequestDecodeError"; command: "glab"; cwd: string; cause: unknown; operation: "getMergeRequest"; reference: string }`

<a id="schema-gitlabmergerequestlistdecodeerror"></a>

## `GitLabMergeRequestListDecodeError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabCli.ts:177](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabCli.ts#L177-L191)
- Shape: `{ _tag: "GitLabMergeRequestListDecodeError"; command: "glab"; cwd: string; cause: unknown; operation: "listMergeRequests" }`

<a id="schema-gitlabmergerequestnotfounderror"></a>

## `GitLabMergeRequestNotFoundError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabCli.ts:92](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabCli.ts#L92-L129)
- Shape: `{ _tag: "GitLabMergeRequestNotFoundError"; operation: "execute"; command: "glab"; cwd: string; cause: unknown; reference: string }`

<a id="schema-gitlabmergerequestreaderror"></a>

## `GitLabMergeRequestReadError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts:110](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts#L110-L126)
- Shape: `{ _tag: "GitLabMergeRequestReadError"; command: "glab"; cwd: string; operation: string; cause: unknown }`

<a id="schema-gitlabmutationrefusederror"></a>

## `GitLabMutationRefusedError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts:250](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts#L250-L266)
- Shape: `{ _tag: "GitLabMutationRefusedError"; command: "glab"; cwd: string; operation: string; reasons: string[] }`

<a id="schema-gitlabnamespacedecodeerror"></a>

## `GitLabNamespaceDecodeError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabCli.ts:232](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabCli.ts#L232-L247)
- Shape: `{ _tag: "GitLabNamespaceDecodeError"; command: "glab"; cwd: string; cause: unknown; operation: "createRepository"; namespacePath: string }`

<a id="schema-gitlabrepositorydecodeerror"></a>

## `GitLabRepositoryDecodeError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabCli.ts:210](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabCli.ts#L210-L230)
- Shape: `{ _tag: "GitLabRepositoryDecodeError"; command: "glab"; cwd: string; cause: unknown; operation: "getRepositoryCloneUrls" | "createRepository" | "getDefaultBranch" | "createMergeRequest"; repository?: string }`

<a id="schema-gitlabrevertunavailableerror"></a>

## `GitLabRevertUnavailableError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts:161](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts#L161-L179)
- Shape: `{ _tag: "GitLabRevertUnavailableError"; command: "glab"; cwd: string; number: number; reason: "not-merged" | "several-commits" }`

<a id="schema-gitlabunknownlabelerror"></a>

## `GitLabUnknownLabelError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts:313](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts#L313-L328)
- Shape: `{ _tag: "GitLabUnknownLabelError"; command: "glab"; cwd: string; labels: string[] }`

<a id="schema-gitlabviewerunavailableerror"></a>

## `GitLabViewerUnavailableError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitlab](../../architecture/t3tools-source-control-gitlab.md)
- Source: [packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts:128](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts#L128-L142)
- Shape: `{ _tag: "GitLabViewerUnavailableError"; command: "glab"; cwd: string }`
