Solve issue #8: Create dom.Error interface