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