Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/QuantumNous/new-api
/ GetErrorCode
Method
GetErrorCode
types/error.go:109–114 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
107
}
108
109
func
(e *NewAPIError) GetErrorCode() ErrorCode {
110
if
e == nil {
111
return
""
112
}
113
return
e.errorCode
114
}
115
116
func
(e *NewAPIError) GetErrorType() ErrorType {
117
if
e == nil {
Callers
8
TestChannel
Function · 0.80
shouldRetry
Function · 0.80
processChannelError
Function · 0.80
NormalizeViolationFeeError
Function · 0.80
shouldChargeViolationFee
Function · 0.80
TaskErrorFromAPIError
Function · 0.80
NewBillingSession
Function · 0.80
BuildParamOverrideContext
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestChannel
Function · 0.64