Macro kms_error
Source macro_rules! kms_error {
($code:ident) => { ... };
($code:ident, $msg:expr) => { ... };
}
Expand description
Create an KmsError from an error code.
§Examples
ⓘlet err = kms_error!(AlreadyExistsException);
assert_eq!(err.code, KmsErrorCode::AlreadyExistsException);