vendor/spomky-labs/otphp/src/Exception/OTPExceptionInterface.php
raw| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace OTPHP\Exception; |
| 6 | |
| 7 | use Throwable; |
| 8 | |
| 9 | /** |
| 10 | * Marker interface for all OTPHP exceptions. |
| 11 | * This allows catching all OTPHP-specific exceptions while maintaining |
| 12 | * backward compatibility with PHP's built-in exception types. |
| 13 | */ |
| 14 | interface OTPExceptionInterface extends Throwable |
| 15 | { |
| 16 | } |