pub(super) async fn named_error(
response: Response,
model: &'static Model,
profile: Profile,
region: &str,
) -> Result<Response, Response>Expand description
Bedrock’s answer when it served the request; when it did not, the sentence for a refusal that is named, and else Bedrock’s own words in the status it gave.