MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / Error

Method Error

sdk/cliproxy/auth/errors.go:16–24  ·  view source on GitHub ↗

Error implements the error interface.

()

Source from the content-addressed store, hash-verified

14
15// Error implements the error interface.
16func (e *Error) Error() string {
17 if e == nil {
18 return ""
19 }
20 if e.Code == "" {
21 return e.Message
22 }
23 return e.Code + ": " + e.Message
24}
25
26// StatusCode implements optional status accessor for manager decision making.
27func (e *Error) StatusCode() int {

Calls

no outgoing calls