steadybit
Version:
Command-line interface to interact with the Steadybit API
8 lines (7 loc) • 480 B
TypeScript
export interface AbortExecutionOptions {
colorize?: boolean;
}
export declare function abortExecution(msg: string, ...args: unknown[]): Error;
export declare function abortExecutionWithOpts({ colorize }: AbortExecutionOptions | undefined, msg: string, ...args: unknown[]): Error;
export declare function abortExecutionWithError(error: any, msg: string, ...args: unknown[]): Promise<Error>;
export declare function getExecutionErrorBody<T>(error: any): Promise<T | undefined>;