class_docstr: Raised if a file cannot be opened.
class_docstr_tok: ["Raised","if","a","file","can","not","be","opened","."]
code: def format_message(self) -> str:
      return _("Could not open file {filename!r}: {message}").format(
          filename=self.ui_filename, message=self.message
      )
  
imports: import typing
  from gettext import gettext
  from gettext import ngettext
  from ._compat import get_text_stderr
  from .utils import echo
  from .utils import format_filename
label_desc: Use image node_id 2 for calling the FileError obj's underlying member method code with example usage: obj.format_message() and returns: _