@crestron/ch5-shell-utilities-cli
Version:
CH5 Shell Utilities CLI for command scripts
35 lines (34 loc) • 1.56 kB
JavaScript
// Copyright (C) 2021 to the present, Crestron Electronics, Inc.
// All rights reserved.
// No part of this software may be reproduced in any form, machine
// or natural, without the express written consent of Crestron Electronics.
// Use of this source code is subject to the terms of the Crestron Software License Agreement
// under which you licensed this source code.
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.Ch5CliError = void 0;
var Ch5CliError = /** @class */ (function (_super) {
__extends(Ch5CliError, _super);
function Ch5CliError(message) {
var _this = _super.call(this, message) || this;
_this.name = "Ch5CliError";
return _this;
}
return Ch5CliError;
}(Error));
exports.Ch5CliError = Ch5CliError;
;