"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.CLIError = void 0;
var _cliTools = require("@react-native-community/cli-tools");
class CLIError extends Error {
  constructor(message) {
    super(message);
    this.name = `${message}`;
    _cliTools.logger.debug(this.stack ?? '');
    // Setting stack to undefined to avoid stack trace
    this.stack = undefined;
  }
}
exports.CLIError = CLIError;
//# sourceMappingURL=error.js.map