diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2026-07-02 14:51:19 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-08-17 16:47:36 +0200 |
| commit | 8cb871e0c69030599fa8e8410f1ecaee21ddbbd0 (patch) | |
| tree | ce9722ab16701920e1a4a8c4578b202e398e8c34 /nix/libstore/local-store.hh | |
| parent | 27f40fad8064064d7c9d3ce5a126a331b62716e1 (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.hh | 1 |
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); | |||
| 291 | void canonicaliseTimestampAndPermissions(const Path & path); | 291 | void canonicaliseTimestampAndPermissions(const Path & path); |
| 292 | 292 | ||
| 293 | MakeError(PathInUse, Error); | 293 | MakeError(PathInUse, Error); |
| 294 | MakeError(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. |
