@sap/adp-common
Version:
common logic for all yeoman generators
10 lines • 393 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const i18n_1 = require("../i18n");
class MessageUtils {
static getLoginErrorMessage(response) {
return response ? i18n_1.Messages.LOGIN_ERROR_MESSAGE(response.status, response.statusText) : i18n_1.Messages.LOGIN_FAILED_MSG;
}
}
exports.default = MessageUtils;
//# sourceMappingURL=MessageUtils.js.map