Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.95 KB

File metadata and controls

51 lines (33 loc) · 1.95 KB

Result.Failure Method

Overloads
Failure(string) Creates a failed result with the specified error message.
Failure(Exception) Creates a failed result from an exception.

Result.Failure(string) Method

Creates a failed result with the specified error message.

public static Atypical.VirtualFileSystem.Core.Result Failure(string error);

Parameters

error System.String

The error message.

Returns

Result
A failed result.

Result.Failure(Exception) Method

Creates a failed result from an exception.

public static Atypical.VirtualFileSystem.Core.Result Failure(System.Exception exception);

Parameters

exception System.Exception

The exception.

Returns

Result
A failed result with the exception message.