class_docstr: Raised if the format of an entity is invalid.
docstr: Creates `InvalidEntityFormatException` from `JSONDecodeError`.
docstr_tok: ["Creates","`","InvalidEntityFormatException","`","from","`","JSONDecodeError","`","."]
code: def create_from(
      cls, other: json.JSONDecodeError, msg: Text
  ) -> "InvalidEntityFormatException":
      """Creates `InvalidEntityFormatException` from `JSONDecodeError`."""
      return cls(msg, other.doc, other.pos)
  
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 for calling the InvalidEntityFormatException obj's underlying member method code with example usage: obj.create_from(cls, other, msg) and returns: cls