1

Closed

RescueAttribute default return value

description

I want global exception handler to kick-in most of the time.
In order to use global exception handler together with RescueAttribute I have to create bool OnError method and explicitly return false.
It would be great if Handle method was virtual so I could inherit from RescueAttribute and create my own attribute returning false by default.
Closed Apr 2, 2011 at 5:41 PM by EisenbergEffect
I'm not making changes at this point. This is easily solvable. Simple create a new class that implements IRescue and you can do whatever you want then. It's pretty simple.

comments