Skip to content
#

error-handling

Here are 1,219 public repositories matching this topic...

renta
renta commented Mar 24, 2021

Package version eg. v9, v10:

github.com/go-playground/locales v0.13.0
github.com/go-playground/universal-translator v0.17.0
github.com/go-playground/validator/v10 v10.2.0

Issue, Question or Enhancement:

Golangci-lint (https://github.com/golangci/golangci-lint) comes with a errorlint linter (https://github.com/polyfloyd/go-errorlint). When I switched it on, I got this issue f

jntrnr
jntrnr commented Nov 13, 2021

Noticed that sometimes miette is missing lines in the panic when you use Miette's custom handler.

Here's one example:

Miette:

  × Main thread panicked.
  ├─▶ at crates/nu-protocol/src/engine/stack.rs:46:9
  ╰─▶ variable not found
         0: 0x56147c2f1d38 - engine_q::main::h85b5921abc527ed0
                      at /home/jt/Source/engine-q/src/main.rs:185
         1: 0x56147c2ecf
traceback_with_variables

Adds variables to python traceback. Simple, lightweight, controllable. Debug reasons of exceptions by logging or pretty printing colorful variable contexts for each frame in a stacktrace, showing every value. Dump locals environments after errors to console, files, and loggers. Works in Jupyter and IPython. Install with pip or conda.

  • Updated Dec 19, 2021
  • Python

Improve this page

Add a description, image, and links to the error-handling topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the error-handling topic, visit your repo's landing page and select "manage topics."

Learn more