MCPcopy Create free account
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 {

Calls

no outgoing calls