Serialize callback
Throws an exception as generators can't be serialized.
This function has no parameters.
No value is returned.