Skip to content

Commit

Permalink
Deprecate QueueError::Unsupported (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
svix-jplatte committed Apr 3, 2024
1 parent 6445fdb commit 940a068
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions omniqueue/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ pub enum QueueError {

#[error("{0}")]
Generic(Box<dyn std::error::Error + Send + Sync>),

#[error("{0}")]
#[deprecated = "This variant is never created inside omniqueue"]
Unsupported(&'static str),
}

Expand Down

0 comments on commit 940a068

Please sign in to comment.