Solve issue #9: Create dom.ErrorHandler interface