mime corrections
exception class & ddoc_id added to error