events: github.com/gobuffalo/events/internal/safe Index | Files

package safe

import "github.com/gobuffalo/events/internal/safe"

Index

Package Files

safe.go

func Run Uses

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 Uses

func RunE(fn func() error) (err error)

Run the function safely knowing that if it panics the panic will be caught and returned as an error

Package safe imports 2 packages (graph) and is imported by 1 packages. Updated 2019-06-23. Refresh now. Tools for package owners.