Added ability to exclude errors and exceptions from default exception handler