WebpagePrinterTool 2.0
Print a web page skip the browser's print preview
载入中...
搜索中...
未找到
RespError结构体 参考

所有接口的错误返回 更多...

#include <WebInterface.h>

类 RespError 继承关系图:
RespError 的协作图:

静态 Public 成员函数

static QJsonObject toJsonObject (std::optional< int > uid, const QString &msg)
 

Public 属性

QString msg {""}
 错误信息
 
- Public 属性 继承自 RespBase
bool is_success = false
 是否成功
 
std::optional< int > uid
 uid,websocket 的消息request 和 resp 不限制对应关系,uid 保证了他们的联系, 也就是 uid 相同 的 request 和 response 对应 由request端生成
 

额外继承的成员函数

- Public 成员函数 继承自 RespBase
 RespBase ()=delete
 

详细描述

所有接口的错误返回

成员函数说明

◆ toJsonObject()

static QJsonObject RespError::toJsonObject ( std::optional< int > uid,
const QString & msg )
inlinestatic

类成员变量说明

◆ msg

QString RespError::msg {""}

错误信息


该结构体的文档由以下文件生成: