Files
cycle_api/app/Exceptions/ModelException.php
2024-03-08 00:58:23 +08:00

16 lines
357 B
PHP

<?php
namespace App\Exceptions;
class ModelException extends \Exception
{
const CODE_WALLET_AMOUNT_ADDR_NOT_FOUND = 10101;
const CODE_WALLET_ADDR_BALANCE_LOW = 10102;
const CODE = [
self::CODE_WALLET_AMOUNT_ADDR_NOT_FOUND => '钱包金额地址不存在',
self::CODE_WALLET_ADDR_BALANCE_LOW => '钱包余额不足',
];
}