Back to godoc.org

Package erroring

v0.0.0-...-1557bcf
Latest Go to latest

The latest major version is .

Published: Aug 13, 2020 | License: Apache-2.0 | Module: github.com/luci/luci-go

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
/ : Search site
f or F : Jump to identifier