DefaultErrorWriter constructor Null safety

DefaultErrorWriter()