Skip to content

Commit f7715fb

Browse files
update lib.rs
1 parent 931a23e commit f7715fb

File tree

1 file changed

+5
-0
lines changed
  • rust-runtime/aws-smithy-types/src

1 file changed

+5
-0
lines changed

rust-runtime/aws-smithy-types/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,10 @@ pub mod timeout;
2828
pub use blob::Blob;
2929
pub use date_time::DateTime;
3030
pub use document::Document;
31+
// TODO(deprecated): Remove deprecated re-export
32+
/// Use [error::ErrorMetadata] instead.
33+
#[deprecated(
34+
note = "`aws_smithy_types::Error` has been renamed to `aws_smithy_types::error::ErrorMetadata`"
35+
)]
3136
pub use error::ErrorMetadata as Error;
3237
pub use number::Number;

0 commit comments

Comments
 (0)