-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor!: throw exception if model cannot be soft deleted #371 (#34)
Covers the scenario where a listener or observer prevents a model from being soft-deleted. When this happens, an exception is thrown as we cannot honour the client's request and are in an invalid state.
- Loading branch information
1 parent
01aa76a
commit d9d6221
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters