Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudfoundry/garden
/ NewError
Function
NewError
errors.go:23–25 ·
view source on GitHub ↗
(err string)
Source
from the content-addressed store, hash-verified
21
}
22
23
func
NewError(err string) *Error {
24
return
&Error{Err: errors.New(err)}
25
}
26
27
type
marshalledError
struct
{
28
Type errType
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected