diff options
| author | 2026-06-06 21:06:11 +0000 | |
|---|---|---|
| committer | 2026-06-06 21:10:23 +0000 | |
| commit | ec2288c0e23e726ea8bbe0c9860e013e1b846bac (patch) | |
| tree | 0ec988854a0dc72209e9542b52a35368c2b30098 /config/errors.go | |
| parent | Various fixes and QoL things (diff) | |
| signature | No signature | |
config: QoL renames
Diffstat (limited to 'config/errors.go')
| -rw-r--r-- | config/errors.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/errors.go b/config/errors.go index f45c31ac..b1049b34 100644 --- a/config/errors.go +++ b/config/errors.go @@ -24,11 +24,11 @@ type LookupError struct { func (err *LookupError) Error() string { switch err.Kind { - case ValueMissing: + case KindMissing: return fmt.Sprintf("config: %s: missing config value", err.Operation) - case ValueValueless: + case KindValueless: return fmt.Sprintf("config: %s: valueless config key", err.Operation) - case ValueString: + case KindString: return fmt.Sprintf("config: %s: invalid string config value", err.Operation) default: return fmt.Sprintf("config: %s: unknown value kind %d", err.Operation, err.Kind) |
