Skip to content

Commit e457d62

Browse files
author
Sergio García Prado
committed
ISSUE #?
* Clarify exception.
1 parent 6148d82 commit e457d62

File tree

1 file changed

+1
-1
lines changed
  • packages/core/minos-microservice-aggregate/minos/aggregate/entities/refs

1 file changed

+1
-1
lines changed

packages/core/minos-microservice-aggregate/minos/aggregate/entities/refs/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def uuid(self, value: UUID) -> None:
199199
200200
:return: This method does not return anything.
201201
"""
202-
raise NotImplementedError
202+
raise RuntimeError("The 'uuid' must be set through the '__setattr__' method.") # pragma: no cover
203203

204204
@property
205205
def data_cls(self) -> Optional[type]:

0 commit comments

Comments
 (0)