class_docstr: Raised if there is an error reading yaml.
docstr: Create exception.
  
  Args:
  filename: optional file the error occurred in
docstr_tok: ["Create","exception",".","Args",":","filename",":","optional","file","the","error","occurred","in"]
code: def __init__(self, filename: Optional[Text] = None) -> None:
      """Create exception.
  
      Args:
      filename: optional file the error occurred in
      """
      self.filename = filename
  
imports: import json
  from typing import Optional, Text
  import jsonschema
  from ruamel.yaml.error import MarkedYAMLError, MarkedYAMLWarning, MarkedYAMLFutureWarning
label_desc: Use image node_id 1 to create a new YamlException object from inherited base classes: RasaException with example: obj = YamlException(filename)