errorx

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package errorx contains error handling.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fn

type Fn func() error

Fn is a func which returns an error.

type Fns

type Fns []Fn

Fns is a slice of Fn.

func (Fns) Run

func (fns Fns) Run() error

Run the Fns, returning the first error. If the error is a skip, nil will be returned.

Jump to

Keyboard shortcuts

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