project-error-handling
propane
Our great sponsors
project-error-handling | propane | |
---|---|---|
10 | 3 | |
263 | 198 | |
0.0% | - | |
0.0 | 0.0 | |
almost 2 years ago | 7 months ago | |
Rust | ||
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
project-error-handling
-
Hey Rustaceans! Got a question? Ask here (16/2023)!
This actually is an example of where the compiler errors could (or should have) maybe provided more help or even the potential solution, it might be worth submitting this to the error handling group.
-
A guide to error handling in Rust
If anyone's interested in helping to shape the future of Rust's built-in error-handling story, there's an error handling project group that's been doing great work recently, e.g. the major effort to move the Error trait into libcore ( https://github.com/rust-lang/project-error-handling/issues/3 ) and stabilizing std::backtrace. You can follow along or get involved via the #project-error-handling channel on the Rust zulip: https://rust-lang.zulipchat.com/
-
Update on the effort to move the Error trait into core
Getting it into alloc would enable usage in a LOT more contexts, like WASM and kernel code. Does this need a distinct tracking issue outside the ticket for moving it to core or would that just add more administrata?
-
What do you NOT like about Rust?
without trolling https://github.com/rust-lang/project-error-handling exist and is far from having strong conclusion and anyway I will always favor enum Error anyway however I like the idea to have a opaque box in the enum for "this is a opaque error you can't deal with as a user of my api"
-
Possible ergonomic option for error handling: what features are needed for this to work?
IIRC, the Error Handling Project Group is aware of these ideas. If this kind of thing interests you and you want to contribute, you should look into getting involved with that group.
-
Rust: Enums to Wrap Multiple Errors
> you should have the underlying message of the std::io::Error
This is a point of debate[1] among the error-handling working group.
[1]: https://github.com/rust-lang/project-error-handling/issues/4...
-
Ergonomic error handling with Rust
Focusing on good error messages has permeated throughout the community. There's even the Error Handling Project Group if you weren't convinced how committed the language designers are to getting this right. There are a number of techniques we can use to make our errors more informative. Along the way, we will discuss the crates that can help.
-
A Small Rust 2021 Change Return Display From Main
The Error Handling Working Group is looking at potential breaking changes for embedded users. Maybe you could work within that group?
propane
-
Cool language features that Rust is missing?
Generators particularly the propane syntax for em
-
What do you NOT like about Rust?
If you can use nightly, just use https://github.com/withoutboats/propane
-
how to make a function return a generator
An experimental library called `propane` introducing a `#[propane::generator]` macro can do this. See https://github.com/withoutboats/propane and https://without.boats/blog/propane/.
What are some alternatives?
serenity - A Rust library for the Discord API.
PyO3 - Rust bindings for the Python interpreter
rust - Empowering everyone to build reliable and efficient software.
eyre - A trait object based error handling type for easy idiomatic error handling and reporting in Rust applications
urwid - Console user interface library for Python (official repo)
goformat - Alternative to gofmt with configurable formatting style (indentation etc.)
rust-cpython - Rust <-> Python bindings
cargo-leptos - Build tool for Leptos (Rust)
leptos-language-server
puffin - 🐦 Friendly little instrumentation profiler for Rust 🦀
rust-notes