Back to

package erroring

v0.0.0 (13a8772)
Latest Go to latest
Published: 3 hours ago | License: Apache-2.0 | Module:


Package erroring implements a backend that always returns an error for all of its calls.


func New

func New(err error) config.Interface

New creates a new erroring interface. This interface will always return an error for every API call.

The supplied error must not be nil. If it is, New will panic.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier