UNPKG

174 BTypeScriptView Raw
1/**
2 * Handles the command errors and prints them to the console.
3 */
4export declare function handleError(error: any, callback?: (error: any) => void | Promise<void>): void;