You'd obviously need to define Exception somewhere, it can be a function attached to `go` so `throw go.AppException(foo);` or something similar.