Unified error message function, Title cased strings