Back to godoc.org
go.chromium.org/luci/config/impl/erroring

package erroring

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

Overview

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

Index

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