| 1 | use thiserrorrust-analyzer cargo thiserror 2.0.18 crate/::Errorrust-analyzer cargo thiserror-impl 2.0.18 Error:; |
| 2 | |
| 3 | /// Errors returned for histogram construction and operations. |
| 4 | #[non_exhaustive] |
| 5 | #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Errorrust-analyzer cargo thiserror-impl 2.0.18 Error:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:)] |
| 6 | pub enum Errorrust-analyzer cargo histogram 1.5.0 errors/Error# { |
| 7 | #[errorrust-analyzer cargo thiserror-impl 2.0.18 error:("max power is too high, check that n <= 64")] |
| 8 | MaxPowerTooHighrust-analyzer cargo histogram 1.5.0 errors/Error#MaxPowerTooHigh#, |
| 9 | #[errorrust-analyzer cargo thiserror-impl 2.0.18 error:("max power is too low, check that grouping_power < max_value_power")] |
| 10 | MaxPowerTooLowrust-analyzer cargo histogram 1.5.0 errors/Error#MaxPowerTooLow#, |
| 11 | #[deprecated(note = "Use InvalidQuantile")] |
| 12 | #[errorrust-analyzer cargo thiserror-impl 2.0.18 error:("invalid percentile, must be in range 0.0..=1.0")] |
| 13 | InvalidPercentilerust-analyzer cargo histogram 1.5.0 errors/Error#InvalidPercentile#, |
| 14 | #[errorrust-analyzer cargo thiserror-impl 2.0.18 error:("invalid quantile, must be in range 0.0..=1.0")] |
| 15 | InvalidQuantilerust-analyzer cargo histogram 1.5.0 errors/Error#InvalidQuantile#, |
| 16 | #[errorrust-analyzer cargo thiserror-impl 2.0.18 error:("the value is outside of the storable range")] |
| 17 | OutOfRangerust-analyzer cargo histogram 1.5.0 errors/Error#OutOfRange#, |
| 18 | #[errorrust-analyzer cargo thiserror-impl 2.0.18 error:("the histogram parameters are incompatible")] |
| 19 | IncompatibleParametersrust-analyzer cargo histogram 1.5.0 errors/Error#IncompatibleParameters#, |
| 20 | #[errorrust-analyzer cargo thiserror-impl 2.0.18 error:("an overflow occurred")] |
| 21 | Overflowrust-analyzer cargo histogram 1.5.0 errors/Error#Overflow#, |
| 22 | #[errorrust-analyzer cargo thiserror-impl 2.0.18 error:("an underflow occurred")] |
| 23 | Underflowrust-analyzer cargo histogram 1.5.0 errors/Error#Underflow#, |
| 24 | #[errorrust-analyzer cargo thiserror-impl 2.0.18 error:("the histogram is not a subset")] |
| 25 | InvalidSubsetrust-analyzer cargo histogram 1.5.0 errors/Error#InvalidSubset#, |
| 26 | } |