Skip to content

Commit

Permalink
Revert "remove deadcode"
Browse files Browse the repository at this point in the history
This reverts commit 47f7524.
  • Loading branch information
rez1dent3 committed Oct 15, 2022
1 parent 47f7524 commit 6dd720c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Internal/Exceptions/ExceptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,9 @@ interface ExceptionInterface extends Throwable
public const TRANSACTION_FAILED = 1 << 10;

public const MODEL_NOT_FOUND = 1 << 11;

/**
* @deprecated no longer used
*/
public const TRANSACTION_START = 1 << 12;
}
15 changes: 15 additions & 0 deletions src/Internal/Exceptions/TransactionStartException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

declare(strict_types=1);

namespace Bavix\Wallet\Internal\Exceptions;

use LogicException;

/**
* @deprecated no longer used
* @codeCoverageIgnore
*/
final class TransactionStartException extends LogicException implements LogicExceptionInterface
{
}

0 comments on commit 6dd720c

Please sign in to comment.