UNPKG

@sap/adp-common

Version:
10 lines 393 B
"use strict"; 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