Pass errors into callbacks.