Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redpanda-data/console
/ Error
Method
Error
backend/pkg/console/kafka_error.go:25–27 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
}
24
25
func
(e *KafkaError) Error() string {
26
return
fmt.Sprintf(
"%s: %s"
, e.Message, e.Description)
27
}
28
29
func
newKafkaError(errCode int16) *KafkaError {
30
typedError := kerr.TypedErrorForCode(errCode)
Callers
15
randCryptoInts
Function · 0.45
Test_pageToken_ValidateErrors
Function · 0.45
Test_decodePageToken_InvalidBase64
Function · 0.45
Test_decodePageToken_InvalidJSON
Function · 0.45
ListMessages
Method · 0.45
fetchMessages
Method · 0.45
logDirsByTopic
Method · 0.45
ListOffsets
Method · 0.45
TestNewKafkaErrorWithDynamicMessage
Function · 0.45
GetAllBrokerConfigs
Method · 0.45
GetBrokerConfig
Method · 0.45
getConsumerGroupOffsets
Method · 0.45
Calls
no outgoing calls
Tested by
15
Test_pageToken_ValidateErrors
Function · 0.36
Test_decodePageToken_InvalidBase64
Function · 0.36
Test_decodePageToken_InvalidJSON
Function · 0.36
TestNewKafkaErrorWithDynamicMessage
Function · 0.36
TestListMessages
Method · 0.36
Matches
Method · 0.36
Matches
Method · 0.36
TestWithLevel
Function · 0.36
Example_productionConfiguration
Function · 0.36
TestPrometheusHandler
Function · 0.36
Test_decodeConfluentBinaryWrapper
Function · 0.36
TestService_getMatchingMapping
Function · 0.36