Files
nix/src/libexpr-c
Robert Hensing 17f344cdda libexpr: Add recoverable errors
This provides an explicit API for call-fail-retry-succeed evaluation
flows, such as currently used in NixOps4.

An alternative design would simply reset the `Value` to the original
thunk instead of `tFailed` under the condition of catching a
`RecoverableEvalError`.
That is somewhat simpler, but I believe the presence of `tFailed` is
beneficial for possible use in the repl; being able to show the error
sooner, without re-evaluation.

The hasPos method is required in order to avoid an include loop.
2026-02-19 14:23:02 +03:00
..
2024-07-02 09:23:24 -04:00
2025-10-11 16:08:35 +03:00
2025-10-28 17:57:15 +01:00
2025-09-03 22:50:42 +02:00
2025-10-28 17:57:15 +01:00