Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| BH_WP_Bitcoin_Gateway_Exception | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | /** |
| 3 | * Base exception class for the Bitcoin Gateway plugin. |
| 4 | * |
| 5 | * Allows us to catch expected exceptions and unexpected exceptions separately. |
| 6 | * |
| 7 | * @package brianhenryie/bh-wp-bitcoin-gateway |
| 8 | */ |
| 9 | |
| 10 | namespace BrianHenryIE\WP_Bitcoin_Gateway\API\Model\Exceptions; |
| 11 | |
| 12 | use Exception; |
| 13 | |
| 14 | /** |
| 15 | * Generic exception thrown by Bitcoin Gateway operations. |
| 16 | * |
| 17 | * Used throughout the plugin when Bitcoin-related operations fail, such as |
| 18 | * address generation, blockchain API calls, or wallet operations. |
| 19 | */ |
| 20 | class BH_WP_Bitcoin_Gateway_Exception extends Exception {} |