@egalteam/framework
Version:
Egal
18 lines (17 loc) • 508 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ActionError = void 0;
/**
* Класс возвращает данные об ошибках с сервера
*/
var ActionError = /** @class */ (function () {
function ActionError(message, code) {
this.message = message;
this.code = code;
}
ActionError.prototype.getMessage = function () {
return this.message;
};
return ActionError;
}());
exports.ActionError = ActionError;