throw errors on hunks, patches