lxd/config/errors.go
func (l *ErrorList) add(name string, value interface{}, reason string) {
	*l = append(*l, &Error{name, value, reason})
}
func (l *ErrorList) add(name string, value interface{}, reason string) {
	*l = append(*l, &Error{name, value, reason})
}
// Add adds an Error with given key name, value and reason.