MCPcopy
hub / github.com/segmentio/kafka-go / rejected

Struct rejected

transport.go:908–908  ·  view source on GitHub ↗

rejected is an implementation of the promise interface which is always returns an error. Values of this type are constructed using the reject function.

Source from the content-addressed store, hash-verified

906// returns an error. Values of this type are constructed using the reject
907// function.
908type rejected struct{ err error }
909
910func reject(err error) promise { return &rejected{err: err} }
911

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected