pub fn set_localized_message(
        &mut self,
        locale: impl Into<String>,
        message: impl Into<String>,
    ) -> &mut Self {
        self.localized_message = Some(LocalizedMessage::new(locale, message));
        self
    }
Set [`LocalizedMessage`] details. Can be chained with other `.set_` and
`.add_` [`ErrorDetails`] methods.

# Examples

```
use tonic_types::ErrorDetails;

let mut err_details = ErrorDetails::new();

err_details.set_localized_message("en-US", "message for the user");
```
tonic-types/src/richer_error/error_details/mod.rs