awsregion/
error.rs

1use thiserror::Error;
2
3#[derive(Error, Debug)]
4pub enum RegionError {
5    #[error("{source}")]
6    Utf8 {
7        #[from]
8        source: std::str::Utf8Error,
9    },
10    #[error("{source}")]
11    Env {
12        #[from]
13        source: std::env::VarError,
14    },
15}