func Parser(r io.Reader, set func(name, value string) error) error
Parser is a parser for YAML file format. Flags and their values are read from the key/value pairs defined in the config file.
ParseError wraps all errors originating from the YAML parser.
type ParseError struct { Inner error }
func (e ParseError) Error() string
Error implenents the error interface.
func (e ParseError) Unwrap() error
Unwrap implements the errors.Wrapper interface, allowing errors.Is and errors.As to work with ParseErrors.