Skip to main content

nexrad_model/
result.rs

1//!
2//! Contains the Result and Error types for NEXRAD model operations.
3//!
4
5use thiserror::Error as ThisError;
6
7pub type Result<T> = std::result::Result<T, Error>;
8
9#[derive(ThisError, Debug)]
10pub enum Error {
11    #[error("two sweeps' elevation numbers do not match")]
12    ElevationMismatchError,
13}