about summary refs log tree commit diff
path: root/buf.gen.yaml
diff options
context:
space:
mode:
authorBob van der Linden <bobvanderlinden@gmail.com>2024-10-30T21·36+0100
committerBob van der Linden <bobvanderlinden@gmail.com>2024-11-02T19·51+0000
commit05cb6e9e350463573857a02b8c5a1f5496500c8f (patch)
treed7dd6492e838ee2ad8319a308084859ba40b60ad /buf.gen.yaml
parentaecf0641a4917994e58e0fe7a9cfecb596f0c4f6 (diff)
feat(tvix/eval): introduce ErrorKind::InvalidHash r/8881
The nixhash errors were wrapped in a generic TvixError. Now it has its
own TvixError with unique error code. The nixhash error is passed along
as a string.

The errors looked like:

error[E997]: invalid encoded digest length '51' for algo sha256

Now they look like:

error[E041]: Invalid hash: invalid encoded digest length '51' for algo
sha256

Change-Id: I5c420815538ba4c6567c95f5d44d60c4d48f43fd
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12718
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'buf.gen.yaml')
0 files changed, 0 insertions, 0 deletions