Rethinking Errors
As most everything else is getting rewritten in DataSplice, it is becoming apparent that the error handling mechanisms needs some thought as well.
The two main issues I see with the current design are not having an explicit mechanism for reporting and routing errors throughout the different modules and a lack of detailed error information.
The first issue could be improved by adding a generic error reporting mechanism. This would primarily be useful for the plugins - we definately need a consistant way to report problems.
The more important issue is one of information. Now we have a basic message and some error details. What I'd like to see is some information about the source of an error as well as how to remedy the problem. For example, if a value is out of range for a field, the client could automatically begin editing the field and display a message to the user that specifies what to do.