borg-backup-ui
borg-backup-ui copied to clipboard
Show detailed restore precheck validation errors
Restore precheck failures currently surface generic translated bad_request messages such as "The request contains invalid data" / "Die Anfrage enthaelt ungueltige Angaben" even when the backend response contains a more useful validation reason.
Goal:
- Show the concrete restore precheck validation message returned by the backend when the precheck request is rejected.
- Keep existing translated API error handling for other API calls.
- Add regression coverage so restore precheck failures do not regress to the generic bad_request text.
User impact: Users can see whether a restore precheck failed because the target path does not exist, is outside the allowed restore roots, is not writable, or because the archive selection is missing.