commonpower.utils.cp_exceptions.EntityError

exception EntityError(entity: ModelEntity, message: str)[source]

Exception which gives info of which entity raised it.

Parameters:
  • entity (ModelEntity) – Raising entity.

  • message (str) – Error message.