Question:
I want to create a system error object that will take care of system errors and database errors. Should I inherit it from the error object, or should I create NVO?
Answer:
One advantage of inheriting from the error object is that you can change the datatype in your application object to use your new object, and all your existing code that was built in PowerBuilder code will use the new object.
I would recommend inheriting the error object and changing the global type.