class_docstr: Raised if there is an error while parsing a story file.
class_docstr_tok: ["Raised","if","there","is","an","error","while","parsing","a","story","file","."]
code: def __init__(self, message: Text) -> None:
      self.message = message
      super(StoryParseError, self).__init__()
  
imports: import logging
  from pathlib import Path
  from typing import Optional, Dict, Text, List, Any, Union
  from rasa.shared.core.domain import Domain
  from rasa.shared.core.events import SlotSet, ActionExecuted, Event
  from rasa.shared.exceptions import RasaCoreException
  from rasa.shared.core.training_data.story_reader.story_step_builder import StoryStepBuilder
  from rasa.shared.core.training_data.structures import StoryStep
label_desc: Use image node_id 1 to create a new StoryParseError object from inherited base classes: RasaCoreException, ValueError with example: obj = StoryParseError(message)