mirror of
https://github.com/tailscale/tailscale.git
synced 2026-04-03 22:25:27 -04:00
Add an Error field to MapResponse to allow the control server to communicate errors to clients in a structured way. The error includes a machine-readable code and a human-readable message. This enables clients to programmatically handle specific error conditions. The immediate use case is returning an explicit error when a node is not found on the tailnet, so that a message can be sent on the ipn bus to inform the client. Updates #18830 Signed-off-by: chaosinthecrd <tom@tmlabs.co.uk>