Remove unused error handling code

Until we end up with a clean way to handle errors, let’s remove this code. It does nothing.