Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion crates/asap-aware-mapping/src/analytical_cost.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1940,8 +1940,14 @@ impl ResourceEstimate {

#[derive(Debug, Clone, PartialEq, thiserror::Error)]
pub enum AnalyticalCostError {
#[error("analytical resource model v1 supports only DataArrival::AtRest, got {0:?}")]
#[error("data arrival {0:?} is unsupported by the selected analytical adapter")]
UnsupportedDataArrival(DataArrival),
#[error("ingestion rate must be finite and non-negative, got {0}")]
InvalidIngestionRate(f64),
#[error("summary lifecycle, maintenance mode, and evaluation schedule are inconsistent")]
IncompatibleLifecycleGuarantee,
#[error("summary operation cost {0} must be finite and non-negative, got {1}")]
InvalidOperationCost(&'static str, f64),
#[error("required analytical input {0} is missing or zero")]
MissingOrZero(&'static str),
#[error("required analytical evidence {0} is missing or stale")]
Expand Down
1 change: 1 addition & 0 deletions crates/asap-aware-mapping/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ pub mod recurrence;
pub mod replacement;
pub mod rewrite;
pub mod rollup;
pub mod summary_maintenance_cost;
pub mod summary_maintenance_dag_export;
pub mod summary_maintenance_lifecycle;
pub mod topk_reuse;
Expand Down
Loading
Loading