provide a stack dumper in spaghetti.stackdumper, call each hook in protected mode and dump the error
simple futures implementation