Why call `cb` with the error and throw it?