pub fn json_error_response(
status: StatusCode,
code: &str,
message: &str,
) -> (StatusCode, String, Bytes)Expand description
Build an AWS JSON error response (used by JSON protocol services: SSM, EventBridge, etc.).
pub fn json_error_response(
status: StatusCode,
code: &str,
message: &str,
) -> (StatusCode, String, Bytes)Build an AWS JSON error response (used by JSON protocol services: SSM, EventBridge, etc.).