MCPcopy 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
109func (e *NewAPIError) GetErrorCode() ErrorCode {
110 if e == nil {
111 return ""
112 }
113 return e.errorCode
114}
115
116func (e *NewAPIError) GetErrorType() ErrorType {
117 if e == nil {

Callers 8

TestChannelFunction · 0.80
shouldRetryFunction · 0.80
processChannelErrorFunction · 0.80
shouldChargeViolationFeeFunction · 0.80
TaskErrorFromAPIErrorFunction · 0.80
NewBillingSessionFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestChannelFunction · 0.64