fallbackwith

package
v0.0.0-...-4cdfe95 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NoOutput

func NoOutput() error

NoOutput is a flow that uses a no-output task (task of no return values) but uses FallbackWith.

func Panic

func Panic() (string, error)

Panic executes a flow that will panic but recovers with FallbackWith

func Serial

func Serial(e error, r string) (string, error)

Serial executes a flow that fails with the given error, if any and recovers with the given string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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