MCPcopy Create free account
hub / github.com/QuantumNous/new-api / GetErrorCode

Method GetErrorCode

relaykit/types/error.go:112–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110}
111
112func (e *NewAPIError) GetErrorCode() ErrorCode {
113 if e == nil {
114 return ""
115 }
116 return e.errorCode
117}
118
119func (e *NewAPIError) GetErrorType() ErrorType {
120 if e == nil {

Callers 15

RelayMidjourneyFunction · 0.95
ErrorMethod · 0.95
TestChannelFunction · 0.80
writeRelayStreamErrorFunction · 0.80
shouldChargeViolationFeeFunction · 0.80
DecideRelayRetryFunction · 0.80
RecordRelayErrorLogFunction · 0.80
RecordPolicyFailureFunction · 0.80

Calls

no outgoing calls