Skip to main content

geometric_traits/errors/
sorted_error.rs

1use core::fmt::Debug;
2
3#[derive(Debug, thiserror::Error, Clone, PartialEq, Eq)]
4/// Error type for sorted data structures.
5pub enum SortedError<V> {
6    /// The entry is not sorted.
7    #[error("Unsorted entry: {0:?}")]
8    UnsortedEntry(V),
9}