Skip to main content

cloudwatch_error

Macro cloudwatch_error 

Source
macro_rules! cloudwatch_error {
    ($code:ident) => { ... };
    ($code:ident, $msg:expr) => { ... };
}
Expand description

Create an CloudWatchError from an error code.

§Examples

let err = cloudwatch_error!(ConcurrentModificationException);
assert_eq!(err.code, CloudWatchErrorCode::ConcurrentModificationException);