Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CodeOK 成功 CodeOK = 0 // CodeUnknown 未知错误 CodeUnknown = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
Error records an error contains code and message and detailed error that caused it
func NewErrorWithDetail ¶
NewErrorWithDetail return a new Error with detailed error that caused it
Click to show internal directories.
Click to hide internal directories.