It would be nice to have some error handling like Try/Catch/Finalize.
Or On Error Goto / Label like you had in Visual Basic.
It would be nice to have some error handling like Try/Catch/Finalize.
Or On Error Goto / Label like you had in Visual Basic.
I know that we can do a lot better about error catching but I am not a big fan of the Try/Catch/Finalize constructions... I am exploring the possibility to introduce a better solution even if it is not so easy to find out.
@marco I know that we can do a lot better about error catching but I am not a big fan of the Try/Catch/Finalize constructions... I am exploring the possibility to introduce a better solution even if it is not so easy to find out.
Try/Catch isn't the most elegant way; it creates extra code blocks. I always found the old "On Error Goto" construct better.
Maybe some sort of "On Error Closure" would be nice, with some user defined arguments in the closure, so that you know at which point in code the closure was triggered by an error.
I'd be happy with any type of error handler..