package safe
import "github.com/markbates/safe"
Index ¶
Constants ¶
const Version = "v1.0.1"
Functions ¶
func Run ¶
func Run(fn func()) (err error)
Run the function safely knowing that if it panics the panic will be caught and returned as an error
func RunE ¶
Run the function safely knowing that if it panics the panic will be caught and returned as an error
Source Files ¶
- Version
- v1.0.1
- Published
- Oct 19, 2018
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- now –
Tools for package owners.