make trace's errors more helpful in terms of what it can and can't do when tracing module's methods
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/20368
Differential Revision: D15305340
Pulled By: Krovatkin
fbshipit-source-id: bafb13002df5c9741160e96205e0846243dde3ec