MCPcopy
hub / github.com/TarsCloud/TarsGo / Error

Method Error

tars/errors.go:12–14  ·  view source on GitHub ↗

Error returns the error message

()

Source from the content-addressed store, hash-verified

10
11// Error returns the error message
12func (e *Error) Error() string {
13 return e.Message
14}
15
16// GetErrorCode returns the error code
17func GetErrorCode(err error) int32 {

Callers 15

TarsInvokeMethod · 0.45
InvokeMethod · 0.45
reportAndClearMethod · 0.45
teerDownMethod · 0.45
TraceFunction · 0.45
Sync2remoteMethod · 0.45
WriteMethod · 0.45
CheckPanicFunction · 0.45
ReportToServerMethod · 0.45
KeepAliveMethod · 0.45
ReportVersionMethod · 0.45
RecvMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected