refactor(tvix/derivation): rename {ValidateDerivation,}Error

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
This commit is contained in:
Florian Klink 2023-01-17 12:00:52 +01:00 committed by flokli
parent 0aad4e2246
commit eebb3ce028
4 changed files with 23 additions and 34 deletions

View file

@ -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(),