errorx

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 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