Skip to content
#

errors

Here are 463 public repositories matching this topic...

nathan-at-least
nathan-at-least commented Apr 21, 2022

The Display impl for Simple shows raw output and expectations, which is awkward for whitespace, such as '\n':

Example:

use chumsky::primitive::{end, just};
use chumsky::Parser;

type Error = chumsky::error::Simple<char>;

fn main() {
    match parser().then_ignore(end()).parse("\nblah") {
        Ok(_) => panic!("Should not happen."),
        Err(es) => {
            for e 
enhancement good first issue
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 errors 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 errors topic, visit your repo's landing page and select "manage topics."

Learn more