shinmentakezo07
Add source files required for Space build
8baf122
Raw
History Blame Contribute Delete
422 Bytes
package configstore
import (
"errors"
"fmt"
"strings"
)
var ErrNotFound = errors.New("not found")
var ErrAlreadyExists = errors.New("already exists")
// ErrUnresolvedKeys is returned when one or more keys could not be resolved
type ErrUnresolvedKeys struct {
Identifiers []string
}
func (e *ErrUnresolvedKeys) Error() string {
return fmt.Sprintf("could not resolve keys: %s", strings.Join(e.Identifiers, ", "))
}