Revert "Remove ErrorData constructor deprecation"This reverts commit e9851ccd954311306530a5094edb81865c1533e9.