diff options
author | Guillaume Maudoux <guillaume.maudoux@tweag.io> | 2022-03-04 21:47:58 +0100 |
---|---|---|
committer | Guillaume Maudoux <guillaume.maudoux@tweag.io> | 2022-03-04 21:47:58 +0100 |
commit | 3a5855353e5dc2986c38bb66eaff5538dea70da1 (patch) | |
tree | f21f14e5e959b8ce68cc8045db3e98911587d8fb /src/libexpr/value.hh | |
parent | be1f0697468bd6c0f2be4f7e058270c161098e9f (diff) |
Add detailed error mesage for coerceTo{String,Path}
Diffstat (limited to 'src/libexpr/value.hh')
-rw-r--r-- | src/libexpr/value.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/value.hh b/src/libexpr/value.hh index d0fa93e92..858227018 100644 --- a/src/libexpr/value.hh +++ b/src/libexpr/value.hh @@ -85,7 +85,7 @@ class ExternalValueBase /* Coerce the value to a string. Defaults to uncoercable, i.e. throws an * error. */ - virtual std::string coerceToString(const Pos & pos, PathSet & context, bool copyMore, bool copyToStore) const; + virtual std::string coerceToString(const Pos & pos, PathSet & context, bool copyMore, bool copyToStore, const std::string & errorCtx) const; /* Compare to another value of the same type. Defaults to uncomparable, * i.e. always false. |