Skip to content
#

error-handling

Here are 1,133 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

rogpeppe
rogpeppe commented May 17, 2021

If a Snafu derive has accidentally been left in an enum definition, the error: Only struct-like and unit enum variants are supported error can be confusing, because it points only to the offending variant, not to the Snafu derive, and the message doesn't mention snafu at all.

Please consider making that error a little more specific; say:

error: Snafu supports only struct-like an
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 Jul 20, 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