Set the user-facing message.
(mut self, message: impl Into<String>)
| 164 | |
| 165 | /// Set the user-facing message. |
| 166 | pub(crate) fn with_message(mut self, message: impl Into<String>) -> Self { |
| 167 | self.message = Some(message.into()); |
| 168 | self |
| 169 | } |
| 170 | |
| 171 | /// Add a warning. |
| 172 | pub(crate) fn with_warning(mut self, warning: impl Into<String>) -> Self { |
no outgoing calls