mirror of
https://github.com/juanfont/headscale.git
synced 2026-09-26 10:14:52 +09:00
9f9fd0d885
Foundation for restructuring config validation feedback. Typed error with errors.Is/As/Join hooks, structured fields rendered as a multi-line operator-facing block (current, conflicts with, allowed, minimum, maximum, why, hint, see), and a configValidator that joins violations via errors.Join. ConfigErrors walks the tree to collect every *ConfigError, and Cause keeps existing sentinel identities reachable through errors.Is. Updates #3227