errorhandling

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Spec

func Spec() docs.FieldSpecs

Types

type Config

type Config struct {
	Strategy string `yaml:"strategy"`
}

Config holds configuration options for the global error handling.

func FromParsed

func FromParsed(pConf *docs.ParsedConfig) (conf Config, err error)

func NewConfig

func NewConfig() Config

NewConfig returns a config struct with the default values for each field.

Jump to

Keyboard shortcuts

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