-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass previous Exception with Exception (#8824)
- Loading branch information
Showing
7 changed files
with
99 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: patch | ||
Type: update | ||
|
||
Pass previous exception with exception |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
includes/exceptions/class-fraud-prevention-enabled-exception.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
/** | ||
* Class Fraud_Prevention_Enabled_Exception | ||
* | ||
* @package WooCommerce\Payments | ||
*/ | ||
|
||
namespace WCPay\Exceptions; | ||
|
||
defined( 'ABSPATH' ) || exit; | ||
|
||
/** | ||
* Exception for throwing an error when fraud prevension service is enabled. | ||
*/ | ||
class Fraud_Prevention_Enabled_Exception extends Process_Payment_Exception { | ||
} |
16 changes: 16 additions & 0 deletions
16
includes/exceptions/class-invalid-phone-number-exception.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
/** | ||
* Class Invalid_Phone_Number_Exception | ||
* | ||
* @package WooCommerce\Payments | ||
*/ | ||
|
||
namespace WCPay\Exceptions; | ||
|
||
defined( 'ABSPATH' ) || exit; | ||
|
||
/** | ||
* Exception for throwing an error when phone number is invalid. | ||
*/ | ||
class Invalid_Phone_Number_Exception extends Process_Payment_Exception { | ||
} |
16 changes: 16 additions & 0 deletions
16
includes/exceptions/class-rate-limiter-enabled-exception.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
/** | ||
* Class Rate_Limiter_Enabled_Exception | ||
* | ||
* @package WooCommerce\Payments | ||
*/ | ||
|
||
namespace WCPay\Exceptions; | ||
|
||
defined( 'ABSPATH' ) || exit; | ||
|
||
/** | ||
* Exception for throwing an error when rate limiter is enabled. | ||
*/ | ||
class Rate_Limiter_Enabled_Exception extends Process_Payment_Exception { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters