{"repo":"zkat/miette","free":true,"listed":false,"github":"https://github.com/zkat/miette","clone":"git clone https://github.com/zkat/miette.git","description":"Fancy extension for std::error::Error with pretty, detailed diagnostic printing.","language":"Rust","stars":2599,"topics":["error-handling","error-reporting","hacktoberfest","hacktoberfest2021","rust"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"miette You run miette? You run her code like the software? Oh. Oh! Error code for coder! Error code for One Thousand Lines! About miette is a diagnostic library for Rust. It includes a series of traits/protocols that allow you to hook into its error reporting facilities, and even write your own error reports! It lets you define error types that can print out like this (or in any format you like!): NOTE: You must enable the \"fancy\" crate feature to get fancy report output like in the screenshots above. You should only do this in your toplevel crate, as the fancy feature pulls in a number of dependencies that libraries and such might not want. Table of Contents - About - Features - Installing - Example - Using - ... in libraries - ... in application code - ... in main() - ... diagnostic code URLs - ... snippets - ... help text - ... severity level - ... multiple related errors - ... delayed source code - ... handler options - ... dynamic diagnostics - ... syntax highlighting - ... primary label - ... collection of labels - Acknowledgements - License Features - Generic [ Diagnostic ] protocol, compatible (and dependent on) [ std::error::Error ]. - Unique error codes on every [ Diagnostic ]. - Custom links to get more details on error codes. - Super handy derive macro for defining diagnostic metadata. - Replacements for anyhow / eyre types [ Result ], [ Report ] and the [ miette! ] macro for the anyhow! / eyre! macros. - Generic support for arbitrary [ SourceCode ]s for snippet d","default_branch":null,"files":null,"tree":[],"storefront":"/r/zkat","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zkat/miette/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}