Result.OnFailure(Action_string_).md
January 20, 2026 ยท View on GitHub
Atypical.VirtualFileSystem.Core
Atypical.VirtualFileSystem.Core.Result
Result.OnFailure(Action<string>) Method
Executes an action if the result is a failure.
public Atypical.VirtualFileSystem.Core.Result OnFailure(System.Action<string> action);
Parameters
action System.Action<System.String>
The action to execute with the error message.
Returns
Result
The current result for chaining.