UNPKG

@jupyterlab/git

Version:

A JupyterLab extension for version control using git

22 lines (21 loc) 831 B
import { Notification } from '@jupyterlab/apputils'; import { TranslationBundle } from '@jupyterlab/translation'; /** * Build notification options to display in a dialog the detailed error. * * @param error Error object to display * @param trans Extension translation object * @returns Notification option to display the full error */ export declare function showError(error: Error, trans: TranslationBundle): Notification.IOptions<null>; /** * Display additional information in a dialog from a notification * button. * * Note: it will not add a button if the message is empty. * * @param message Details to display * @param trans Translation object * @returns Notification option to display the message */ export declare function showDetails(message: string, trans: TranslationBundle): Notification.IOptions<null>;