Skip to content

Commit bd849ef

Browse files
author
Fahad Zubair
committed
ADD AwsJson build error support
1 parent 3cf5c55 commit bd849ef

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

rust-runtime/aws-smithy-legacy-http-server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aws-smithy-legacy-http-server"
3-
version = "0.65.8"
3+
version = "0.65.9"
44
authors = ["Smithy Rust Server <[email protected]>"]
55
edition = "2021"
66
license = "Apache-2.0"

rust-runtime/aws-smithy-legacy-http-server/src/protocol/aws_json/rejection.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ use thiserror::Error;
99

1010
#[derive(Debug, Error)]
1111
pub enum ResponseRejection {
12+
#[error("error building HTTP response: {0}")]
13+
Build(#[from] aws_smithy_types::error::operation::BuildError),
1214
#[error("error serializing JSON-encoded body: {0}")]
1315
Serialization(#[from] aws_smithy_types::error::operation::SerializationError),
1416
#[error("error building HTTP response: {0}")]

0 commit comments

Comments
 (0)