Change api to use 'errorSpan' and not 'message' (ambivalent term)