about summary refs log tree commit diff
path: root/tvix/eval/src/spans.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-01-16T10·05+0300
committertazjin <tazjin@tvl.su>2023-01-16T13·43+0000
commit67addf3b3d5533f0b8f37d5d981c31e4313cf317 (patch)
treebdb0159669a0b2085931a9b37caaab67cb736a73 /tvix/eval/src/spans.rs
parentd365b092262013e074f0fe800a1955032eaa2fd9 (diff)
feat(tvix/eval): add error variant for threading through errors r/5665
This variant is required for external builtins (which in our case
includes `derivation`) to thread through reasonable error messages.

This has some potential for improvement, but it's an improvement over
the status quo of panicking in the external builtins when no
appropriate error is available.

Change-Id: I7e4bdb0a156c7717092dde30aa4785192182dc66
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7841
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/spans.rs')
0 files changed, 0 insertions, 0 deletions