Jakar.ErrorOr
10.1.0
See the version list below for details.
dotnet add package Jakar.ErrorOr --version 10.1.0
NuGet\Install-Package Jakar.ErrorOr -Version 10.1.0
<PackageReference Include="Jakar.ErrorOr" Version="10.1.0" />
<PackageVersion Include="Jakar.ErrorOr" Version="10.1.0" />
<PackageReference Include="Jakar.ErrorOr" />
paket add Jakar.ErrorOr --version 10.1.0
#r "nuget: Jakar.ErrorOr, 10.1.0"
#:package Jakar.ErrorOr@10.1.0
#addin nuget:?package=Jakar.ErrorOr&version=10.1.0
#tool nuget:?package=Jakar.ErrorOr&version=10.1.0
Jakar.ErrorOr
RFC 7807-style errors and results: Error, Errors, Alert and ErrorOrResult<T>.
dotnet add package Jakar.ErrorOr
Split out of Jakar.Extensions in 10.12.0. It depends on Jakar.Extensions. The types keep the Jakar.Extensions namespace, so code that used them from Jakar.Extensions only needs this package reference (and a recompile).
What's in it
Error: an RFC 7807 problem (status, title, type, instance, description andStringTagsdetails), with factories for the common cases (Error.Validation,Error.NotFound,Error.Unauthorized,Error.Create(Exception), ...).Errors: a set ofErrors plus an optionalAlert.ErrorOrResult/ErrorOrResult<T>: a value or its errors.All,Some,Success,Unknown: result markers.
Status, StringTags, IErrorDetails and the error titles (IErrorTitles) stay in Jakar.Extensions.
Versioning
Versions are <.NET major>.<library major>.<library minor>: a breaking change bumps the middle number (10.1.0 → 10.2.0), anything else the last one.
Repository
| Path | What it is |
|---|---|
Jakar.ErrorOr/ |
The package. |
Jakar.ErrorOr.Tests/ |
NUnit tests. |
.github/workflows/ci.yml |
Build and test on Ubuntu and Windows, for every push and pull request. |
.github/workflows/publish.yml |
On master: CI, then pack and push to nuget.org (Trusted Publishing). |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Jakar.Extensions (>= 10.12.0)
- JetBrains.Annotations (>= 2026.2.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Jakar.ErrorOr:
| Package | Downloads |
|---|---|
|
Jakar.Extensions
Extensions to aid in development. |
|
|
Jakar.Database
Package Description |
|
|
Jakar.Http
An HttpClient-based requester (WebRequester) with retries, typed JSON bodies on Jakar.Json, and WebResponse<T> results that carry their errors. |
GitHub repositories
This package is not used by any popular GitHub repositories.
10.1.0: initial release. Split out of Jakar.Extensions 10.12.0; the types keep the Jakar.Extensions namespace.