diff options
author | Vincent Ambo <mail@tazj.in> | 2023-01-16T17·02+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2023-01-20T15·39+0000 |
commit | 972c867b365631f771f6933cd9a6384316d5aea5 (patch) | |
tree | a3846c801813bf8aaf8945ac58d4f3b3bcbef1ae /users/aaqaishtyaq | |
parent | 148a63ae7e2633b69446372fa9ee475fa7a9eb0a (diff) |
feat(tvix/eval): add error contexts to annotate error kinds r/5706
This makes it possible for users to add additional context to an error, which will then be rendered as an additional secondary span in the formatted error output. We should strive to do this basically anywhere errors are raised that can occur multiple times, *especially* during type casts. This was triggered by me debugging a type cast error attached to a fairly large-ish span (a builtin invocation). Change-Id: I51be41fabee00cf04de973935daf34fe6424e76f Reviewed-on: https://cl.tvl.fyi/c/depot/+/7849 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'users/aaqaishtyaq')
0 files changed, 0 insertions, 0 deletions