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: 30

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