UNPKG

@amplitude/ampli

Version:

Amplitude CLI

21 lines (20 loc) 632 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class ExecSyncError extends Error { constructor(message, options) { super(message); this.pid = -1; this.status = -1; this.message = ''; this.output = []; if (options) { this.pid = options.pid || -1; this.status = options.status || -1; this.message = message || options.message || ''; this.stderr = options.stderr; this.stdout = options.stdout; this.output = options.output || []; } } } exports.default = ExecSyncError;