pub(crate) fn settings_error<T>(msg: impl Into<String>) -> Result<T, Error>
Build the Error::Settings for a rejected settings field.
Error::Settings