johmanx10 /
transaction
| 1 | <?php |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 2 | /** |
||
| 3 | * Copyright MediaCT. All rights reserved. |
||
| 4 | * https://www.mediact.nl |
||
| 5 | */ |
||
| 6 | |||
| 7 | namespace Johmanx10\Transaction\Exception; |
||
| 8 | |||
| 9 | use Johmanx10\Transaction\OperationInterface; |
||
| 10 | use Throwable; |
||
| 11 | |||
| 12 | interface OperationExceptionInterface extends Throwable |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Get the operation that caused the exception to occur. |
||
| 16 | * Returns null if the operation cannot be determined. |
||
| 17 | * |
||
| 18 | * @return OperationInterface|null |
||
| 19 | */ |
||
| 20 | public function getOperation(): ?OperationInterface; |
||
| 21 | } |
||
| 22 |