Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-dev-frame/sponge
/ Code
Method
Code
pkg/errcode/rpc_error.go:59–61 ·
view source on GitHub ↗
Code get code
()
Source
from the content-addressed store, hash-verified
57
58
// Code get code
59
func
(s *RPCStatus) Code() codes.Code {
60
return
s.status.Code()
61
}
62
63
// Msg get message
64
func
(s *RPCStatus) Msg() string {
Callers
8
TestRPCStatus
Function · 0.95
Err
Method · 0.45
ErrToHTTP
Method · 0.45
ToRPCErr
Method · 0.45
ToRPCCode
Method · 0.45
convertToHTTPCode
Function · 0.45
GetStatusCode
Function · 0.45
IsStatus
Function · 0.45
Calls
no outgoing calls
Tested by
1
TestRPCStatus
Function · 0.76