Skip to content

Commit

Permalink
chore(deps): update thiserror requirement from 1.0.40 to 2.0.3 (#164)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ben Sully <[email protected]>
  • Loading branch information
dependabot[bot] and sd2k authored Nov 25, 2024
1 parent 7ad67fe commit e70ebc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ serde = { version = "1.0.166", features = ["derive"] }
statrs = "0.17.1"
serde_json = "1.0.128"
serde-wasm-bindgen = "0.6.0"
thiserror = "1.0.40"
thiserror = "2.0.3"
tinyvec = "1.6.0"
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion crates/augurs-prophet/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub enum Error {
#[error("Invalid interval width: {0}; must be between 0.0 and 1.0")]
InvalidIntervalWidth(f64),
/// Too many data points were provided, overflowing an `i32`.
#[error("Too many data points: {0}, max is {}", i32::MAX)]
#[error("Too many data points: {got}, max is {max}", got = .0, max = i32::MAX)]
TooManyDataPoints(usize),
/// The timestamps provided are constant.
#[error("Timestamps are constant: {0}")]
Expand Down

0 comments on commit e70ebc4

Please sign in to comment.