@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
23 lines (22 loc) • 645 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ErrorDetails = void 0;
var Mapper_1 = require("../common/Mapper");
/**
* @export
* @class ErrorDetails
*/
var ErrorDetails = /** @class */ (function () {
function ErrorDetails(obj) {
if (!obj) {
return;
}
this.code = (0, Mapper_1.map)(obj.code);
this.category = (0, Mapper_1.map)(obj.category);
this.text = (0, Mapper_1.map)(obj.text);
this.retryHint = (0, Mapper_1.map)(obj.retryHint);
}
return ErrorDetails;
}());
exports.ErrorDetails = ErrorDetails;
exports.default = ErrorDetails;