summaryrefslogtreecommitdiff
path: root/nix/libstore/local-store.hh
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2026-07-02 14:51:19 +0200
committerLudovic Courtès <ludo@gnu.org>2026-08-17 16:47:36 +0200
commit8cb871e0c69030599fa8e8410f1ecaee21ddbbd0 (patch)
treece9722ab16701920e1a4a8c4578b202e398e8c34 /nix/libstore/local-store.hh
parent27f40fad8064064d7c9d3ce5a126a331b62716e1 (diff)
daemon: Throw ‘AuthenticationError’ on archive authentication error.
* nix/libstore/local-store.hh (AuthenticationError): New error type. * nix/libstore/local-store.cc (readAuthenticateReply): Throw it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'nix/libstore/local-store.hh')
-rw-r--r--nix/libstore/local-store.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/nix/libstore/local-store.hh b/nix/libstore/local-store.hh
index 6a0def7412e..5dfe68f90a4 100644
--- a/nix/libstore/local-store.hh
+++ b/nix/libstore/local-store.hh
@@ -291,6 +291,7 @@ void canonicalisePathMetaData(const Path & path, uid_t fromUid);
291void canonicaliseTimestampAndPermissions(const Path & path); 291void canonicaliseTimestampAndPermissions(const Path & path);
292 292
293MakeError(PathInUse, Error); 293MakeError(PathInUse, Error);
294MakeError(AuthenticationError, Error);
294 295
295/* Size below which a file is not considered for deduplication. */ 296/* Size below which a file is not considered for deduplication. */
296/* Any file smaller than this is not considered for deduplication. 297/* Any file smaller than this is not considered for deduplication.