MCPcopy Create free account
hub / github.com/docker/compose / IsErrUnsupportedFlag

Function IsErrUnsupportedFlag

pkg/api/errors.go:71–73  ·  view source on GitHub ↗

IsErrUnsupportedFlag returns true if the unwrapped error is ErrUnsupportedFlag

(err error)

Source from the content-addressed store, hash-verified

69
70// IsErrUnsupportedFlag returns true if the unwrapped error is ErrUnsupportedFlag
71func IsErrUnsupportedFlag(err error) bool {
72 return errors.Is(err, ErrUnsupportedFlag)
73}
74
75// IsErrNotImplemented returns true if the unwrapped error is ErrNotImplemented
76func IsErrNotImplemented(err error) bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected