Assert on error wrapping.