Skip to content

Commit 4680a55

Browse files
committed
chore: extend from domain exception
1 parent 8953e7f commit 4680a55

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ All notable changes to `laravel-specification-pattern` will be documented in thi
66

77
### Changed
88

9-
- Renamed `SpecificationException` to `DissatisfiedSpecification`.
9+
- Renamed `SpecificationException` to `DissatisfiedSpecification` and extend from `DomainException`.
1010
- Marked the following classes as final:
1111
- `AndSpecification`.
1212
- `NotSpecification`.

src/DissatisfiedSpecification.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
namespace Maartenpaauw\Specifications;
66

7-
use Exception;
7+
use DomainException;
88

9-
final class DissatisfiedSpecification extends Exception
9+
final class DissatisfiedSpecification extends DomainException
1010
{
1111
}

0 commit comments

Comments
 (0)