ErrorGenerator constructor Null safety

ErrorGenerator()

Error generator

Implementation

ErrorGenerator();