Categorygithub.com/jasonming/go-fuckerr/try
modulepackage
1.1.0
Repository: https://github.com/jasonming/go-fuckerr.git
Documentation: pkg.go.dev

# Functions

Catching run block and catch all panics which are raised by Throw[f] function.
Catching0 run block and catch all panics which are raised by Throw[f] function.
Catching2 run block and catch all panics which are raised by Throw[f] function.
CatchingAll run block and catch all panics.
CatchingAll0 run block and catch all panics.
CatchingAll2 run block and catch all panics.
Check Throw if err != nil.
IsNotPanic check whether err is raised by Throw[f].
Must return ret if err != nil, or Throw err.
Must2 return 2 values(ret1, ret2) if err != nil, or Throw err.
Throw raise a panic which will be caught by outside Catching[n] function then convert back to error in result.
Throwf raise a panic with formatted string which will be caught by outside Catching[n] function then convert back to error in result.

# Variables

NoErr Provide a idiomatic nil on return statement.