Move error utility to its proper location so Travis works properly