You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
I know that any result with at least one
Error
in theReasons
would be marked as a failure, but sometimes operations succeed with some warnings.So did you consider having a partial success status ? could be configured to act as success or fail for backward compatibility
ps: can contribute to add feature
The text was updated successfully, but these errors were encountered: