Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/yuk7/wsldl
/ Error
Method
Error
src/lib/errutil/errutil.go:21–26 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
}
20
21
func
(e *DisplayError) Error() string {
22
if
e == nil || e.Err == nil {
23
return
""
24
}
25
return
e.Err.Error()
26
}
27
28
// Unwrap returns the underlying error.
29
func
(e *DisplayError) Unwrap() error {
Callers
15
TestDisplayErrorNilSafety
Function · 0.95
TestExecute_LxGuid_EmptyUUIDWithoutProfileError
Function · 0.45
TestExecute_WtProfileName_ProfileNotFound_ReturnsDisplayError
Function · 0.45
TestDisplayError
Function · 0.45
TestExitCodeError
Function · 0.45
FormatError
Function · 0.45
MustExecutable
Function · 0.45
TestDownloadFile_HTTPErrorStatus_ReturnsError
Function · 0.45
TestBackupTarWithDeps_GzipTempDirEmptyReturnsError
Function · 0.45
TestBackupExt4Vhdx_EmptyBasePathReturnsError
Function · 0.45
TestRepairRegistry_NoKnownInstallFiles_ReturnsError
Function · 0.45
TestInstall_ChecksumMismatchStopsBeforeRegister
Function · 0.45
Calls
no outgoing calls
Tested by
15
TestDisplayErrorNilSafety
Function · 0.76
TestExecute_LxGuid_EmptyUUIDWithoutProfileError
Function · 0.36
TestExecute_WtProfileName_ProfileNotFound_ReturnsDisplayError
Function · 0.36
TestDisplayError
Function · 0.36
TestExitCodeError
Function · 0.36
TestDownloadFile_HTTPErrorStatus_ReturnsError
Function · 0.36
TestBackupTarWithDeps_GzipTempDirEmptyReturnsError
Function · 0.36
TestBackupExt4Vhdx_EmptyBasePathReturnsError
Function · 0.36
TestRepairRegistry_NoKnownInstallFiles_ReturnsError
Function · 0.36
TestInstall_ChecksumMismatchStopsBeforeRegister
Function · 0.36
TestInstallWithDeps_HttpTempDirEmpty_ReturnsError
Function · 0.36
TestInstallExt4VhdxWithDeps_TempDirEmpty
Function · 0.36