Get the original stack trace for the given error.