error handling could easily be unified into a common function
Problem:
Hand over the full payload? No separation of concerns. But allows for common handler function.
or "unpack" the payload and hand over payload.graph payload.name payload.etc etc. = separation of concerns but lots of code duplication?
-> how to solve this?