MCPcopy Create free account
hub / github.com/jetify-com/devbox / IsWarning

Function IsWarning

internal/boxcli/usererr/usererr.go:103–109  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

101}
102
103func IsWarning(err error) bool {
104 c := &combined{}
105 if errors.As(err, &c) {
106 return c.level == levelWarning
107 }
108 return false
109}
110
111func (c *combined) Error() string {
112 if c.source == nil {

Callers 1

postRunMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected