Versions in this module Expand all Collapse all v0 v0.17.15 May 11, 2026 v0.17.14 May 11, 2026 Changes in this version + var As = errors.As + var ErrBack = errors.New("back") + var ErrBranchModificationRestricted = errors.New("branch modification restricted") + var ErrBranchNotFound = errors.New("branch not found") + var ErrCanceled = errors.New("canceled") + var ErrNotOnBranch = errors.New("not on a branch") + var ErrNotOnBranchNoBranchSpecified = errors.New("not on a branch and no branch specified") + var ErrRebaseConflict = errors.New("rebase conflict") + var ErrRebaseNotInProgress = errors.New("no rebase in progress") + var ErrTrunkOperation = errors.New("invalid operation on trunk branch") + var Is = errors.Is + var New = errors.New + var Unwrap = errors.Unwrap + func FailedTo(action, target string, err error) error + func Op(operation string, err error) error + func While(action string, err error) error + func Wrap(err error, format string, args ...any) error + type BranchModificationError struct + BranchName string + IsFrozen bool + LockReason git.LockReason + func NewBranchModificationError(branchName string, lockReason git.LockReason, frozen bool) *BranchModificationError + func (e *BranchModificationError) Error() string + func (e *BranchModificationError) Is(target error) bool + func (e *BranchModificationError) IsLocked() bool + type BranchNotFoundError struct + BranchName string + func NewBranchNotFoundError(branchName string) *BranchNotFoundError + func (e *BranchNotFoundError) Error() string + func (e *BranchNotFoundError) Is(target error) bool + type RebaseConflictError struct + BranchName string + Message string + func NewRebaseConflictError(branchName string, message string) *RebaseConflictError + func (e *RebaseConflictError) Error() string + func (e *RebaseConflictError) Is(target error) bool