- throwing and catching an exception inside a transaction will cause the rollback. - return the optional rules instead of throwing an error in case they are missing. update the code - add unit test.
- throwing and catching an exception inside a transaction will cause the rollback. - return the optional rules instead of throwing an error in case they are missing. update the code - add unit test.