Slight tweaks to config parsing error handling (#1575)
Some checks failed
CodeQL / Analyze (push) Has been cancelled
mkdocs / deploy (push) Has been cancelled

This commit is contained in:
trapexit 2025-11-13 16:05:03 -06:00 • committed by GitHub
parent af1edadf72
commit 01973214bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 19 additions and 7 deletions

View file

@ -557,6 +557,9 @@ Config::Err::to_string() const
case ELOOP:
s = "too many levels of config";
break;
case ENOENT:
s = "no value set";
break;
default:
s = strerror(err);
break;