trydo

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetErrorWrapperCollectionWrappedPanic

func GetErrorWrapperCollectionWrappedPanic(voidFunc func()) *errwrappers.Collection

func GetErrorWrapperWrappedPanic

func GetErrorWrapperWrappedPanic(voidFunc func()) *errorwrapper.Wrapper

func Throw

func Throw(up Exception)

Types

type Block

type Block struct {
	Try     func()
	Catch   func(Exception)
	Finally func()
}

func (Block) Do

func (it Block) Do()

type Exception

type Exception interface{}

func WrapPanic

func WrapPanic(voidFunc func()) Exception

Jump to

Keyboard shortcuts

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