package main
import "github.com/gomodul/fn"
func main() {
fn.Block{
Try: func() {
// try to run function...
// throw exception where not null...
fn.Throw()
},
Catch: func(e fn.Exception) {
// catch exception from throw function...
},
Finally: func() {
// optional...
},
}.Do()
}
-
Notifications
You must be signed in to change notification settings - Fork 0
gomodul/fn
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published