mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-08 01:05:37 +08:00
14 lines
291 B
PHP
14 lines
291 B
PHP
<?php
|
|
|
|
|
|
namespace ZM\Exception;
|
|
|
|
|
|
use Throwable;
|
|
|
|
class ZMKnownException extends ZMException
|
|
{
|
|
public function __construct($err_code, $message = "", $code = 0, Throwable $previous = null) {
|
|
parent::__construct(zm_internal_errcode($err_code) . $message, $code, $previous);
|
|
}
|
|
} |