class_docstr: Raised if a file cannot be opened.
class_docstr_tok: ["Raised","if","a","file","can","not","be","opened","."]
code: def __init__(self, filename, hint=None):
      ui_filename = filename_to_ui(filename)
      if hint is None:
          hint = "unknown error"
      ClickException.__init__(self, hint)
      self.ui_filename = ui_filename
      self.filename = filename
  
imports: from ._compat import filename_to_ui
  from ._compat import get_text_stderr
  from ._compat import PY2
  from .utils import echo
label_desc: Use image node_id 1 to create a new FileError object from inherited base classes: ClickException with example: obj = FileError(filename, hint)