generate_exception library Null safety

Exceptions / Errors

GenerateException