Usage of cloudeebus.getError() on some error
and remove some duplicate code of 'Promise' interface