Handle errors when this.base is an string