try

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Throw

func Throw()

Types

type E

type E interface{}

type Exception

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

func This

func This(f func()) (e Exception)

func (Exception) Catch

func (e Exception) Catch(f func(err E))

func (Exception) Finally

func (e Exception) Finally(f func()) (e2 Exception)

Jump to

Keyboard shortcuts

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