added stack traces for some more types of errors