UNPKG

@zowe/imperative

Version:
44 lines 1.13 kB
/** * Defines an error that occurred in the CLI. * @export * @interface IImperativeError */ export interface IImperativeError { /** * Message text of the error * @type {string} * @memberof IImperativeError */ msg: string; /** * Original errors that caused/influenced this one * @type {any} * @memberof IImperativeError */ causeErrors?: any; /** * any other extra contextual information (e.g. details pulled out of the cause errors) * @type {string} * @memberof IImperativeError */ additionalDetails?: string; /** * Error status * @type {string} * @memberof IImperativeError */ stack?: string; /** * If applicable, an error code, for example, HTTP status code surrounding the error * @type {string} * @memberof IImperativeError */ errorCode?: string; /** * Whether or not the error should suppress a full error dump, like in Imperative init * @type {boolean} * @memberof IImperativeError */ suppressDump?: boolean; } //# sourceMappingURL=IImperativeError.d.ts.map