积分与余额账务系统硬切重构
This commit is contained in:
1 parent
ca12226b39
commit
5cae5b5c93
159 files changed
+7275
-4718
No files matched your search
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
/**
|
||||
* @package AKSRT
|
||||
*/
|
||||
|
||||
namespace AKSRT\Ledger;
|
||||
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
final class LedgerAbort extends \RuntimeException {
|
||||
public function __construct(public readonly \WP_Error $error) {
|
||||
parent::__construct($error->get_error_code());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user