src/document/DocumentCommandHandlers.js
function showFileOpenError(name, path) {
        return Dialogs.showModalDialog(
            DefaultDialogs.DIALOG_ID_ERROR,
            Strings.ERROR_OPENING_FILE_TITLE,
            StringUtils.format(
                Strings.ERROR_OPENING_FILE,
                StringUtils.breakableUrl(path),
                FileUtils.getFileErrorString(name)
            )
        );
    }
function showFileOpenError(name, path) {
        return Dialogs.showModalDialog(
            DefaultDialogs.DIALOG_ID_ERROR,
            Strings.ERROR_OPENING_FILE_TITLE,
            StringUtils.format(
                Strings.ERROR_OPENING_FILE,
                StringUtils.breakableUrl(path),
                FileUtils.getFileErrorString(name)
            )
        );
    }
function showFileOpenError ( name , path ) { return Dialogs . showModalDialog ( DefaultDialogs . DIALOG_ID_ERROR , Strings . ERROR_OPENING_FILE_TITLE , StringUtils . format ( Strings . ERROR_OPENING_FILE , StringUtils . breakableUrl ( path ) , FileUtils . getFileErrorString ( name ) ) ) ; }
Shows an error dialog indicating that the given file could not be opened due to the given error
@param {!FileSystemError} name
@return {!Dialog}
Shows an error dialog indicating that the given file could not be opened due to the given error