@oclif/core
Version:
base library for oclif CLIs
9 lines (8 loc) • 308 B
TypeScript
import { PrettyPrintableError } from '../interfaces';
export declare function error(input: Error | string, options: {
exit: false;
} & PrettyPrintableError): void;
export declare function error(input: Error | string, options?: {
exit?: number;
} & PrettyPrintableError): never;
export default error;