set a default error class if it isn't specified

Since Surface provides the styling for the outside div, we may as well set that as a default rather than force developers to include it in every view. Here, I set it if it is not set outside the helper, but we may want to actually append it in cases where something else is passed in.