cmderr

package
v0.4.170 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package cmderr maps domain errors onto cr's command exit taxonomy.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackendFlagChanged

func BackendFlagChanged(cmd *cobra.Command) bool

BackendFlagChanged reports whether the inherited --backend flag was supplied.

func Config

func Config(err error) error

Config maps config package errors to scriptable command errors.

func Credential

func Credential(err error) error

Credential maps credstore-related errors to scriptable command errors.

func Provider

func Provider(err error) error

Provider maps git-provider errors to scriptable command errors.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL