Using a FormattedString instance for error message