PHP-1230: Store WriteResult in WriteException struct instead of property