diff options
Diffstat (limited to 'src/libexpr/flake/lockfile.cc')
-rw-r--r-- | src/libexpr/flake/lockfile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/flake/lockfile.cc b/src/libexpr/flake/lockfile.cc index f26baa697..5c2f6f04c 100644 --- a/src/libexpr/flake/lockfile.cc +++ b/src/libexpr/flake/lockfile.cc @@ -198,7 +198,7 @@ InputPath parseInputPath(std::string_view s) for (auto & elem : tokenizeString<std::vector<std::string>>(s, "/")) { if (!std::regex_match(elem, flakeIdRegex)) - throw Error("invalid flake input path element '%s'", elem); + throw UsageError("invalid flake input path element '%s'", elem); path.push_back(elem); } |