Richer error reporting from invoke