class_docstr: Exception to represent errors related to the building a model.
class_docstr_tok: ["Exception","to","represent","errors","related","to","the","building","a","model","."]
code: def __init__(self, msg: str = "") -> None:  # noqa: D
      error_msg = "An error occurred when attempting to build the semantic model"
      if msg:
          error_msg += f"\n{msg}"
      super().__init__(error_msg)
  
imports: from __future__ import annotations
  import textwrap
  from typing import Dict, Optional
label_desc: Use image node_id 1 to create a new ModelCreationException object from inherited base classes: Exception with example: obj = ModelCreationException(msg)