Adds detailed/generic error handling option