mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-11 21:23:12 +01:00
16 lines
416 B
Go
16 lines
416 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"
|
|
}
|