Pass the error messages with the exception

I don't want explicit $stderr access deep down in the internal classes.