about summary refs log tree commit diff
path: root/tvix/derivation/src/errors.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-01-17T11·00+0100
committerflokli <flokli@flokli.de>2023-01-18T17·13+0000
commiteebb3ce028e56872cdfee462dd6556e33d2f204e (patch)
tree11867d4c71985837584ae5c75e3dff949351a8a9 /tvix/derivation/src/errors.rs
parent0aad4e2246971601c16a20240eebf61964f8c198 (diff)
refactor(tvix/derivation): rename {ValidateDerivation,}Error r/5695
This is now used in more than just validate().

Change-Id: I69c3ad6cb5f3ad60a636fe2ea05d432aebe8e53b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7851
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/derivation/src/errors.rs')
-rw-r--r--tvix/derivation/src/errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/derivation/src/errors.rs b/tvix/derivation/src/errors.rs
index a43162c1460a..baf1d6ca5398 100644
--- a/tvix/derivation/src/errors.rs
+++ b/tvix/derivation/src/errors.rs
@@ -3,7 +3,7 @@ use tvix_store::store_path::ParseStorePathError;
 
 /// Errors that can occur during the validation of Derivation structs.
 #[derive(Debug, Error)]
-pub enum ValidateDerivationError {
+pub enum DerivationError {
     // outputs
     #[error("No outputs defined.")]
     NoOutputs(),