gitconfigerror

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSectionOrKeyIsInvalid                  = &SectionOrKeyIsInvalidErr{message: "section or key is invalid"}
	ErrNoSectionOrNameProvided                = &NoSectionOrNameProvidedErr{message: "no section or name provided"}
	ErrConfigFileIsInvalid                    = &ConfigFileIsInvalidErr{message: "config file is invalid"}
	ErrConfigFileCannotBeWritten              = &ConfigFileCannotBeWrittenErr{message: "config file cannot be written"}
	ErrTryingToUnsetAnOptionWhichDoesNotExist = &TryingToUnsetAnOptionWhichDoesNotExistErr{message: "trying to unset an option which does not exist"}
	ErrTryingToUseAnInvalidRegexp             = &TryingToUseAnInvalidRegexpErr{message: "trying to use an invalid regexp"}
)

Functions

func New added in v1.7.1

func New(err error) error

Types

type ConfigFileCannotBeWrittenErr added in v1.7.1

type ConfigFileCannotBeWrittenErr struct {
	// contains filtered or unexported fields
}

func (*ConfigFileCannotBeWrittenErr) Error added in v1.7.1

type ConfigFileIsInvalidErr added in v1.7.1

type ConfigFileIsInvalidErr struct {
	// contains filtered or unexported fields
}

func (*ConfigFileIsInvalidErr) Error added in v1.7.1

func (e *ConfigFileIsInvalidErr) Error() string

type NoSectionOrNameProvidedErr added in v1.7.1

type NoSectionOrNameProvidedErr struct {
	// contains filtered or unexported fields
}

func (*NoSectionOrNameProvidedErr) Error added in v1.7.1

type SectionOrKeyIsInvalidErr added in v1.7.1

type SectionOrKeyIsInvalidErr struct {
	// contains filtered or unexported fields
}

func (*SectionOrKeyIsInvalidErr) Error added in v1.7.1

func (e *SectionOrKeyIsInvalidErr) Error() string

type TryingToUnsetAnOptionWhichDoesNotExistErr added in v1.7.1

type TryingToUnsetAnOptionWhichDoesNotExistErr struct {
	// contains filtered or unexported fields
}

func (*TryingToUnsetAnOptionWhichDoesNotExistErr) Error added in v1.7.1

type TryingToUseAnInvalidRegexpErr added in v1.7.1

type TryingToUseAnInvalidRegexpErr struct {
	// contains filtered or unexported fields
}

func (*TryingToUseAnInvalidRegexpErr) Error added in v1.7.1

type UnknownErr added in v1.7.1

type UnknownErr struct {
	// contains filtered or unexported fields
}

func (*UnknownErr) Error added in v1.7.1

func (e *UnknownErr) Error() string

Jump to

Keyboard shortcuts

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