aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/derivations.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/derivations.hh')
-rw-r--r--src/libstore/derivations.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/derivations.hh b/src/libstore/derivations.hh
index 36ac09210..c8f8d10dc 100644
--- a/src/libstore/derivations.hh
+++ b/src/libstore/derivations.hh
@@ -44,7 +44,7 @@ struct DerivationOutput
/* DEPRECATED: Remove after CA drvs are fully implemented */
StorePath path(const Store & store, std::string_view drvName) const {
auto p = pathOpt(store, drvName);
- if (!p) throw Error("floating content-addressed derivations are not yet implemented");
+ if (!p) throw UnimplementedError("floating content-addressed derivations are not yet implemented");
return *p;
}
};