Add error callbacks to the fetch methods