1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-29 22:56:37 -04:00

config_file.go: return error if config is invalid

This commit is contained in:
Adhityaa
2018-06-21 21:03:32 +05:30
parent 4890bc4cc7
commit bb24f62b9c
2 changed files with 6 additions and 1 deletions

View File

@ -38,3 +38,4 @@ var errorNotADirectory = errors.New("The given path is not a directory.")
var errorGzip = errors.New("Cannot GZip content.")
var errorCannotDownloadDisqus = errors.New("We could not download your Disqus export file.")
var errorSelfVote = errors.New("You cannot vote on your own comment.")
var errorInvalidConfigFile = errors.New("Invalid config file.")