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 ¶
Types ¶
type ConfigFileCannotBeWrittenErr ¶
type ConfigFileCannotBeWrittenErr struct {
// contains filtered or unexported fields
}
func (*ConfigFileCannotBeWrittenErr) Error ¶
func (e *ConfigFileCannotBeWrittenErr) Error() string
type ConfigFileIsInvalidErr ¶
type ConfigFileIsInvalidErr struct {
// contains filtered or unexported fields
}
func (*ConfigFileIsInvalidErr) Error ¶
func (e *ConfigFileIsInvalidErr) Error() string
type NoSectionOrNameProvidedErr ¶
type NoSectionOrNameProvidedErr struct {
// contains filtered or unexported fields
}
func (*NoSectionOrNameProvidedErr) Error ¶
func (e *NoSectionOrNameProvidedErr) Error() string
type SectionOrKeyIsInvalidErr ¶
type SectionOrKeyIsInvalidErr struct {
// contains filtered or unexported fields
}
func (*SectionOrKeyIsInvalidErr) Error ¶
func (e *SectionOrKeyIsInvalidErr) Error() string
type TryingToUnsetAnOptionWhichDoesNotExistErr ¶
type TryingToUnsetAnOptionWhichDoesNotExistErr struct {
// contains filtered or unexported fields
}
func (*TryingToUnsetAnOptionWhichDoesNotExistErr) Error ¶
func (e *TryingToUnsetAnOptionWhichDoesNotExistErr) Error() string
type TryingToUseAnInvalidRegexpErr ¶
type TryingToUseAnInvalidRegexpErr struct {
// contains filtered or unexported fields
}
func (*TryingToUseAnInvalidRegexpErr) Error ¶
func (e *TryingToUseAnInvalidRegexpErr) Error() string
type UnknownErr ¶
type UnknownErr struct {
// contains filtered or unexported fields
}
func (*UnknownErr) Error ¶
func (e *UnknownErr) Error() string
Click to show internal directories.
Click to hide internal directories.