Allow to notify HttpException

Add a new option to allow `HttpException` to be notified.