Rename errorResultClass to errorModelClass