format error to fit extjs form error