Skip to content

GitCommandError

An error thrown when a git command fails.

Import:

import { GitCommandError } from '@mnaoumov/obsidian-lib/desktop-bulk-operation-git';

Signature:

export class GitCommandError extends Error

Extends: Error

Constructor

new GitCommandError(gitArguments: readonly string[], exitCode: number, stderr: string)

Creates a new instance.