Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/juju/errors
/ Error
Method
Error
functions_test.go:342–344 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
340
}
341
342
func
(b *basicError) Error() string {
343
return
b.Reason
344
}
345
346
func
(*functionSuite) TestAs(c *gc.C) {
347
baseError := &basicError{
"I'm an error"
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected