Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // SystemError 系统错误 SystemError = &ErrMode{-100, "SYSTEM ERROR!!!"} // HttpClientRequestError 客户端发送 HTTP 请求 失败错误 HttpClientRequestError = &ErrMode{1001, "HTTP CLIENT REQUEST ERROR!!!"} // MessageError 触发一个用于传递消息的错误 MessageError = &ErrMode{1002, "MESSAGE ERROR!!!"} )
Functions ¶
Types ¶
type Error ¶
type Error struct { Content any // contains filtered or unexported fields }
Error 自定义错误
func CreateHttpClientRequestError ¶
CreateHttpClientRequestError 创建客户端发送 HTTP 请求 失败错误
func CreateMessageError ¶
Click to show internal directories.
Click to hide internal directories.