catching some lastErrors and exceptions