@midwayjs/coreFunctionsregisterErrorCodeVersion: NextregisterErrorCode CallableregisterErrorCode<T, G>(errorGroup: G, errorCodeMapping: T): ConvertString<T, G>Register error group and code, return the standard ErrorCodeType parametersT: ConvertableG: string
Register error group and code, return the standard ErrorCode