enum-code
ebec
enum-code | ebec | |
---|---|---|
1 | 3 | |
6 | 5 | |
- | - | |
5.3 | 8.5 | |
11 months ago | 5 months ago | |
Rust | TypeScript | |
MIT License | MIT License |
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.
enum-code
-
Just open source a process macro「enum-code」for mapping enum values to error codes in Rust.
You can find the code on Github: https://github.com/Kunduin/enum-code and crates.io: https://crates.io/crates/enum-code.
ebec
What are some alternatives?
nutype - Rust newtype with guarantees 🇺🇦 🦀
Enumeration.TS - Powerful enums for TypeScript.
crates.io - The Rust package registry
http-exception-transformer - ExpressJS middleware to send structured, clean and robust error responses and never throw up on the user
snafu - Easily assign underlying errors into domain-specific errors while adding context
log-process-errors - Show some ❤️ to Node.js process errors
winresult - Debug-friendly rust types/codes for windows results
tshttp - Low-Level TypeScript HTTP-related Modules.
maud - :pencil: Compile-time HTML templates for Rust
ts-pojo-error - 🔥 Type safe pojo error will help you to easily create typed and serializable error.
ariadne - A fancy diagnostics & error reporting crate
modern-errors - Handle errors in a simple, stable, consistent way