Put all error messages in span with "error" class, for better handling

Change-Id: I1e8b8f5956d110ebe3b65b7d8e20d6d8465e0a87