mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-12 05:33:11 +01:00
15 lines
414 B
Go
15 lines
414 B
Go
package common
|
|
|
|
// WALNotFoundError is raised when a WAL file has not been found in the object store
|
|
type WALNotFoundError struct{}
|
|
|
|
// ShouldPrintStackTrace tells whether the sidecar log stream should contain the stack trace
|
|
func (e WALNotFoundError) ShouldPrintStackTrace() bool {
|
|
return false
|
|
}
|
|
|
|
// Error implements the error interface
|
|
func (e WALNotFoundError) Error() string {
|
|
return "WAL file not found"
|
|
}
|