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

Struct NotStructPtrError

error.go:75–75  ·  view source on GitHub ↗

NotStructPtrError occurs when pass something that is not a pointer to a struct to Parse.

Source from the content-addressed store, hash-verified

73
74// NotStructPtrError occurs when pass something that is not a pointer to a struct to Parse.
75type NotStructPtrError struct{}
76
77func (e NotStructPtrError) Error() string {
78 return "expected a pointer to a Struct"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected