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