refactor ZMConfig

This commit is contained in:
crazywhalecc
2022-05-10 00:30:33 +08:00
parent fcb226e357
commit 18ae960f86
8 changed files with 504 additions and 9 deletions

View File

@@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace ZM\Exception;
use Throwable;
class ConfigException extends ZMException
{
public function __construct($err_code, $message = '', $code = 0, Throwable $previous = null)
{
parent::__construct(zm_internal_errcode($err_code) . $message, $code, $previous);
}
}