Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetErrorInfo ¶
Types ¶
type ErrorCode ¶
type ErrorCode string
const ( Success ErrorCode = "E0000000000" InvalidRequest ErrorCode = "E0000000400" UnAuthorizedResource ErrorCode = "E0000000403" NotFound ErrorCode = "E0000000404" BodyTooLarge ErrorCode = "E0000000413" ServerError ErrorCode = "E0000000500" UnknownError ErrorCode = "E0000000520" SystemIncompatible ErrorCode = "E0000000600" RequestTimeout ErrorCode = "E0000000601" NoServerInstance ErrorCode = "E0000000602" InvalidCertificate ErrorCode = "E0000000603" DomainAuthorizationTimeout ErrorCode = "E0000000604" DomainNetworkTimeout ErrorCode = "E0000000605" PeerDisableNetwork ErrorCode = "E0000000606" NetworkUnreachable ErrorCode = "E0000000607" SessionReleased ErrorCode = "E0000000608" UnAuthorizedInterface ErrorCode = "E0000000614" InvalidSignature ErrorCode = "E0000000615" CodecError ErrorCode = "E0000000616" DownStreamUnExist ErrorCode = "E0000000617" DomainNotInNetwork ErrorCode = "E0000000618" AddressUnreachable ErrorCode = "E0000000619" BufferOverflow ErrorCode = "E0000000700" )
type TransError ¶
type TransError struct {
// contains filtered or unexported fields
}
func NewTransError ¶
func NewTransError(c ErrorCode) *TransError
func (*TransError) Error ¶
func (err *TransError) Error() string
func (*TransError) ErrorInfo ¶
func (err *TransError) ErrorInfo() string
Click to show internal directories.
Click to hide internal directories.