amantinband/throw
A simple, fluent, extensible, and fully customizable library for throwing exceptions for projects using .NET 6+ observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1647
- days_rel: n/a
- days_push: 742
- n_releases_24m: 0
Adoption not part of the score
1290 stars · 85 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A fluent, extensible .NET 6+ library for throwing exceptions with customizable guard clauses and argument validation. It provides chainable checks for strings, collections, comparables, enums, and more.
Use cases
- validate method arguments with guard clauses in C#
- throw custom exceptions with a fluent API
- check strings and collections for null or empty before use
- enforce contract-style assertions in .NET code
- customize exception messages and exception types per check
When to choose
- you want readable, chainable argument validation in .NET 6+
- you need fully customizable exception types and messages
- you prefer a lightweight library over a full validation framework
When to avoid
- you need data annotation or model-level validation rather than guard clauses
- your project targets .NET versions below 6
- you want validation results collected instead of exceptions thrown
Facets
library · maturity stable
error-handling testing developer-tools programming-languages dotnet cross-platform guard-clauses exceptions fluent-api argument-validation assertions csharp
1 source
- readme: https://github.com/amantinband/throw · fetched 2026-08-28 · b820f9041e0f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| amantinband/throw | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="amantinband/throw")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem