All Projects → oxequa → Grace

oxequa / Grace

Licence: gpl-3.0
Handle Go recover, panic, and errors in a graceful way. Multiple errors support, basic filters and custom handlers.

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Grace

Underlinetextfield
Simple UITextfield Subclass with state
Stars: ✭ 156 (-31.88%)
Mutual labels:  error-handling
Failure
failure is a utility package for handling application errors.
Stars: ✭ 187 (-18.34%)
Mutual labels:  error-handling
Errors Spring Boot Starter
Elegant Error Handling for Spring Boot
Stars: ✭ 209 (-8.73%)
Mutual labels:  error-handling
Pyrollbar
Error tracking and logging from Python to Rollbar
Stars: ✭ 169 (-26.2%)
Mutual labels:  error-handling
Swift Error Handler
Error handling library for Swift
Stars: ✭ 172 (-24.89%)
Mutual labels:  error-handling
Fstoolkit.errorhandling
An opinionated F# Library for error handling
Stars: ✭ 200 (-12.66%)
Mutual labels:  error-handling
Ben.demystifier
High performance understanding for stack traces (Make error logs more productive)
Stars: ✭ 2,142 (+835.37%)
Mutual labels:  error-handling
Sneaker
An easy way to send emails whenever an exception occurs on server.
Stars: ✭ 223 (-2.62%)
Mutual labels:  error-handling
Slashtrace
Awesome error handler. Demo: https://slashtrace.com/demo.php
Stars: ✭ 182 (-20.52%)
Mutual labels:  error-handling
Bugsnag Ruby
Bugsnag error monitoring & reporting software for rails, sinatra, rack and ruby
Stars: ✭ 211 (-7.86%)
Mutual labels:  error-handling
Graphql Errors
Simple error handler for GraphQL Ruby ❗️
Stars: ✭ 170 (-25.76%)
Mutual labels:  error-handling
Whoops
PHP errors for cool kids
Stars: ✭ 12,646 (+5422.27%)
Mutual labels:  error-handling
Emperror
The Emperor takes care of all errors personally
Stars: ✭ 201 (-12.23%)
Mutual labels:  error-handling
Bugsnag Cocoa
Bugsnag crash reporting for iOS, macOS and tvOS apps
Stars: ✭ 167 (-27.07%)
Mutual labels:  error-handling
Ultracopier
Ultracopier acts as a replacement for files copy dialogs. Features: play/pause, speed limitation, on-error resume, error/collision management ...
Stars: ✭ 220 (-3.93%)
Mutual labels:  error-handling
Bugsnag Go
Automatic panic monitoring for Go and Go web frameworks, like negroni, gin, and revel
Stars: ✭ 155 (-32.31%)
Mutual labels:  error-handling
Exceptions4c
🐑 An exception handling framework for C
Stars: ✭ 189 (-17.47%)
Mutual labels:  error-handling
Tcso
Try Catch Stack overflow (TcSo) Is a collection of Try statements in all the programming languages under the globe which catches the exception and searches for the cause of the caught exception in the stack overflow automatically.
Stars: ✭ 228 (-0.44%)
Mutual labels:  error-handling
Human Signals
Human-friendly process signals
Stars: ✭ 223 (-2.62%)
Mutual labels:  error-handling
Leaf
Lightweight Error Augmentation Framework
Stars: ✭ 201 (-12.23%)
Mutual labels:  error-handling

Build status GoReport GoDoc License Gitter


Handle recover, panic and errors in a graceful way


Quickstart

go get github.com/oxequa/grace

The following is a simple example that handles a panic and returns the error without the program crash.

package main

import (
  "fmt"
  "github.com/oxequa/grace"
)

func example() (e error){
  defer grace.Recover(&e) // save recover error and stack trace to e
  numbers := []int{1, 2}
  fmt.Println(numbers[3]) // panic out of index
  return
}

func main() {
  err := example() // no panic occur
  fmt.Println(err)
  fmt.Println("End")
}

Documentation

You can read the full documentation of Grace here.

Contributing

Please read our guideline here.

License

Grace is licensed under the GNU GENERAL PUBLIC LICENSE V3.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].