UNPKG

forest-cli

Version:

The Lumberjacks' toolbelt is the Forest CLI which makes easy to manage your back office application directly from the terminal.

24 lines 629 B
export = ErrorHandler; declare class ErrorHandler { /** * @param {import('../context/plan').Context} context */ constructor({ assertPresent, chalk, messages, terminator }: any); /** @private @readonly */ private readonly terminator; /** @private @readonly */ private readonly chalk; /** @private @readonly */ private readonly messages; /** * @private * @param {ForestCLIError} error * @returns {string[]} */ private getMessages; /** * @param {Error} error */ handle(error: Error): Promise<void>; } //# sourceMappingURL=error-handler.d.ts.map