No need to assign `formatErr`, just put it inline into the returning slice, ditto for the rest.