MCPcopy Create free account
hub / github.com/bytebase/bytebase / Error

Method Error

backend/component/ghost/logger.go:49–52  ·  view source on GitHub ↗
(args ...any)

Source from the content-addressed store, hash-verified

47}
48
49func (l *ghostLogger) Error(args ...any) error {
50 slog.ErrorContext(l.ctx, fmt.Sprintf(args[0].(string), args[1:]...))
51 return errors.Errorf(args[0].(string), args[1:])
52}
53
54func (l *ghostLogger) Errorf(format string, args ...any) error {
55 slog.ErrorContext(l.ctx, fmt.Sprintf(format, args...))

Callers 15

convertErrorToAdviceFunction · 0.45
MaskMethod · 0.45
getSecretFromGCPFunction · 0.45
getSecretFromAWSFunction · 0.45
getSecretFromAzureFunction · 0.45
TestResolveVaultTokenFunction · 0.45
getVaultClientFunction · 0.45
getSecretFromVaultFunction · 0.45
ValidateBinlogAccessFunction · 0.45
ErroreMethod · 0.45

Calls 1

ErrorfMethod · 0.80