UNPKG

@contentstack/cli-cm-seed

Version:

create a Stack from existing content types, entries, assets, etc.

17 lines (16 loc) 529 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class ContentModelSeederError extends Error { constructor(message, suggestions) { super(message); this.suggestions = suggestions; this.name = this.constructor.name; if (typeof Error.captureStackTrace === 'function') { Error.captureStackTrace(this, this.constructor); } else { this.stack = new Error(message).stack; } } } exports.default = ContentModelSeederError;