| Overloads | |
|---|---|
| Failure(string) | Creates a failed result with the specified error message. |
| Failure(Exception) | Creates a failed result from an exception. |
Creates a failed result with the specified error message.
public static Atypical.VirtualFileSystem.Core.Result Failure(string error);
error System.String
The error message.
Result
A failed result.
Creates a failed result from an exception.
public static Atypical.VirtualFileSystem.Core.Result Failure(System.Exception exception);
exception System.Exception
The exception.
Result
A failed result with the exception message.