@o3r/schematics
Version:
Schematics module of the Otter framework
17 lines • 743 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.O3rCliError = void 0;
const environment_1 = require("./environment");
/**
* Error to be throw when otter script failed
*/
class O3rCliError extends Error {
constructor(error) {
super(error.toString()
+ '\n\nYou can file new issues by selecting from our issue templates (https://github.com/AmadeusITGroup/otter/issues/new/choose) and filling out the issue template.'
+ '\n\nTo facilitate the reproduction of the issue, do not forget to provide us your environment information:\n'
+ (0, environment_1.getEnvironmentInfoStringify)());
}
}
exports.O3rCliError = O3rCliError;
//# sourceMappingURL=error.js.map