luci: Index | Files

package erroring

import ""

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


Package Files


func New Uses

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.

Package erroring imports 3 packages (graph) and is imported by 3 packages. Updated 2020-12-06. Refresh now. Tools for package owners.