Comments (1)
You can create a class Warning which inherit from Error if you want that a Warning is handled as error (=> failed result). You can also create a class Warning which inherit from Success if you want that a Warning is handled as success (=> success result). For more details about this topic see readme https://github.com/altmann/FluentResults#designing-errors-and-success-messages
from fluentresults.
Related Issues (20)
- Expand FailIf
- [Idea]: Integration of Error Result with RFC 7807 standard format HOT 1
- Using Fluentresult Without MediatR & CQRS HOT 2
- Add Extension methods "Bind" and "Map" for IResult<T>
- BenchmarkDotNet error: FluentResults is non-optimized HOT 3
- Binaries in nuget package compiled in debug mode HOT 1
- Suggestion for IResultBase: Make Errors/Successes as IReadOnlyCollection HOT 1
- Is this project still alive? HOT 6
- Value throws an InvalidOperationException after any call of .WithError() HOT 2
- Integrate with FluentValidation HOT 1
- Don't understand, why an implicit conversion of matching generic types doesn't work HOT 2
- Availability of Tag for v3.15.2 HOT 1
- fluentresults is missing NuGet package README file
- `HasError<T>` can throw, when I would expect `false` HOT 1
- Documentation of some methods shows as `<inheritdoc></inheritdoc>` HOT 2
- Resources regarding great APIs with the result pattern HOT 1
- [Suggestion] Downgrade Microsoft.Extensions.Logging.Abstractions version HOT 1
- Unexpected behavior during deserialization in Azure Durable Function's ActivityTrigger response HOT 1
- Problem with HasSuccess - Creating a success puts in Value, not Successes where HasSuccess<type> looks HOT 2
- result.HasSuccess<CreatedSuccess>(out var createdSuccess) returns false but Success was added HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluentresults.