Popularity
1.0
Declining
Activity
0.0
Stable
9
2
1
Programming language: Go
License: MIT License
Tags:
Error Handling
Latest version: v1.0.0
Falcon alternatives and similar packages
Based on the "Error Handling" category.
Alternatively, view Falcon alternatives based on common mentions on social networks and blogs.
-
eris
Error handling library with readable stack traces and flexible formatting support ๐ -
errlog
Reduce debugging time while programming Go. Use static and stack-trace analysis to determine which func call causes the error. -
Fault
Go errors but structured and composable. Fault provides an extensible yet ergonomic mechanism for wrapping errors. -
slog-multi
๐จ Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing... -
exception
A simple utility package for exception handling with try-catch in Golang -
oops
๐ฅ Error handling library with context, assertion, stack trace and source fragments
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Promo
www.influxdata.com
Do you think we are missing an alternative of Falcon or a related project?
Popular Comparisons
README
Falcon
Minimal And Efficient Error Handling In Go
Simple Example
errHandler := falcon.NewErrorHandler()
errHandler.AddHandler(func(err error, data ...interface{}) interface{} {
fmt.Println("Generic Error Occured")
return SomeData
})
errHandler.AddHandler(func(err error, data ...interface{}) interface{} {
fmt.Println("Error Of Type CustomErrorType Occured")
return SomeData
}, CustomErrorType{})
SomeData := errHandler.Check(err, SomeRandomData1, SomeRandomData2)
// Data passed after the err will be passed to handlers