feat(tvix/eval): Use thiserror for ErrorKind and CatchableErrorKind

thiserror is much more easier to maintain than manually implementing Error and Display.

Change-Id: Ibf13e2d8a96fba69c8acb362b7515274a593dfd6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12452
Reviewed-by: flokli <flokli@flokli.de>
Autosubmit: Ilan Joselevich <personal@ilanjoselevich.com>
Tested-by: BuildkiteCI
This commit is contained in:
Ilan Joselevich 2024-09-07 22:29:25 +03:00 committed by clbot
parent 1bdf5c0c11
commit c1e69e260d
6 changed files with 113 additions and 250 deletions

View file

@ -15230,6 +15230,10 @@ rec {
packageId = "test-strategy";
optional = true;
}
{
name = "thiserror";
packageId = "thiserror";
}
{
name = "toml";
packageId = "toml 0.6.0";