standardize some exception message formats