introduced js/core/Error as BaseClass for Errors