MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / Error

Method Error

pkg/utils/parser.go:254–260  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

252}
253
254func (e *ErrInvalidPromotionToken) Error() string {
255 message := fmt.Sprintf("invalid promotion token (%s)", e.reason)
256 if e.err != nil {
257 message = fmt.Sprintf("%s: %s", message, e.err.Error())
258 }
259 return message
260}
261
262func (e *ErrInvalidPromotionToken) Unwrap() error {
263 return e.err

Callers 6

exec_test.goFile · 0.45
IsShutdownMethod · 0.45
isRetryableExecErrorFunction · 0.45
ExecCommandFunction · 0.45
catalog_test.goFile · 0.45
extensions_test.goFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected