Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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.

Types

This section is empty.

Source Files