]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
actions/config: improve config file related errors
authorEric Biggers <ebiggers@google.com>
Sat, 9 May 2020 21:52:06 +0000 (14:52 -0700)
committerEric Biggers <ebiggers@google.com>
Sat, 9 May 2020 22:21:31 +0000 (15:21 -0700)
commite9919b0bfd00c7d228531ebafa410cbfdafcb2e3
tree477a5b64ddbf6f21e385aadf4f6904f9902bac74
parent1a47ab1e565f7052e34b0677a1df6789e6ecf3a9
actions/config: improve config file related errors

ErrBadConfig:
Fix backwards wrapping, include the bad config, and make it
clear that this is an internal error.

ErrBadConfigFile:
Fix backwards wrapping, include the config file location, and
adjust the suggestion slightly.

ErrConfigFileExists:
Include the config file location.

ErrNoConfigFile:
Include the config file location, and adjust the suggestion
slightly.
actions/config.go
actions/context.go
cli-tests/t_setup.out
cmd/fscrypt/errors.go