MCPcopy Create free account
hub / github.com/caarlos0/env / Error

Method Error

error.go:70–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68}
69
70func (e ParseError) Error() string {
71 return fmt.Sprintf("parse error on field %q of type %q: %v", e.Name, e.Type, e.Err)
72}
73
74// NotStructPtrError occurs when pass something that is not a pointer to a struct to Parse.
75type NotStructPtrError struct{}

Callers 2

isErrorWithMessageFunction · 0.45
ErrorMethod · 0.45

Calls

no outgoing calls

Tested by 1

isErrorWithMessageFunction · 0.36