Skip to content

Commit

Permalink
add BadBaselineIdx selection error
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v-null committed May 10, 2024
1 parent 52f67cf commit 920545c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/selection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,16 @@ pub enum SelectionError {
received: String,
},

#[error("bad baseline index supplied to function {function}. expected {expected}, received {received}")]
BadBaselineIdx {
/// The function name
function: String,
/// Predicate on bl_idxs
expected: String,
/// The baseline index that was received instead
received: String,
},

#[cfg(feature = "mwalib")]
#[error(transparent)]
Mwalib(#[from] mwalib::GpuboxError),
Expand Down

0 comments on commit 920545c

Please sign in to comment.