Extract Error to exception converter to separate class.

if you want to use your own errorhandler, provide the Error to Exception converter separately