trydo

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: MIT Imports: 7 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)

func WrapPanicToBaseErrorCollection added in v0.9.8

func WrapPanicToBaseErrorCollection(voidFunc func()) errcoreinf.BaseErrorOrCollectionWrapper

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