try

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: MIT Imports: 0 Imported by: 18 modules, 33 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func To

func To(e error)

func To1

func To1[T1 any](t1 T1, e error) T1

func To2

func To2[T1 any, T2 any](t1 T1, t2 T2, e error) (T1, T2)

func To3

func To3[T1 any, T2 any, T3 any](t1 T1, t2 T2, t3 T3, e error) (T1, T2, T3)

Types

type Error

type Error struct {
	// contains filtered or unexported fields
}

func (*Error) Unpack

func (e *Error) Unpack() error

Jump to

Keyboard shortcuts

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