Abstract the creation of Error nodes in Events