Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devld/go-drive
/ throwForVM
Function
throwForVM
script/runtime.go:152–157 ·
view source on GitHub ↗
(vm *VM, e any)
Source
from the content-addressed store, hash-verified
150
}
151
152
func
throwForVM(vm *VM, e any) {
153
if
vm == nil {
154
ThrowDetachedError(e)
155
}
156
vm.ThrowError(e)
157
}
158
159
func
errorMessage(e any) string {
160
if
re, ok := e.(err.Error); ok {
Callers
9
Get
Method · 0.85
Save
Method · 0.85
MakeDir
Method · 0.85
Copy
Method · 0.85
Move
Method · 0.85
List
Method · 0.85
Delete
Method · 0.85
GetURL
Method · 0.85
GetReader
Method · 0.85
Calls
2
ThrowDetachedError
Function · 0.85
ThrowError
Method · 0.80
Tested by
no test coverage detected