Raise the actual error when something goes wrong.