modulepackage
0.7.1
Repository: https://github.com/tiny-systems/errorpanic.git
Documentation: pkg.go.dev
# README
errorpanic
errorpanic It is a simple golang wrapper for functions which may panic.
- Synchronous call.
- For functions which may return errors.
- If panic happens, it will be handled as an error with the help of the
recover
function - Error typed panics are supported
panic(err)
Installation
Standard go get
:
go get github.com/tiny-systems/errorpanic
Usage & Example
err := errorpanic.Wrap(someFuncError)
Please check examples
# Packages
No description provided by the author
# Functions
No description provided by the author