An error of this class will be thrown if any of the git operations fail.

Hierarchy

  • Error
    • GitCmdError

Constructors

  • Parameters

    • message: string

      Error message describing the git failure

    • originalError: string | Error

      The original error that caused the failure

    Returns GitCmdError

Properties

cause?: unknown
message: string
name: string
originalError: string | Error

The original error that caused the failure

stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc