MCPcopy Index your code
hub / github.com/garethgeorge/backrest / Error

Method Error

internal/api/syncapi/errors.go:16–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14var _ error = (*SyncError)(nil)
15
16func (e *SyncError) Error() string {
17 return fmt.Sprintf("syncerror %v: %s", e.State, e.Message.Error())
18}
19
20func (e *SyncError) Unwrap() error {
21 return e.Message

Callers 11

RequireAuthenticationFunction · 0.45
GetOperationEventsMethod · 0.45
LoginMethod · 0.45
TestVerifyInvalidTokenFunction · 0.45
TestHookOnErrorHandlingFunction · 0.45
NewDownloadHandlerFunction · 0.45
handleRestoreDownloadFunction · 0.45
SyncMethod · 0.45
RunSyncMethod · 0.45

Calls

no outgoing calls

Tested by 3

TestVerifyInvalidTokenFunction · 0.36
TestHookOnErrorHandlingFunction · 0.36