erroring

package
v0.0.0-...-f0b372e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 3

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL