Method | Description | |
---|---|---|
FromException ( |
Creates a new ErrorInfo which represents an exception that should be thrown.
|
|
FromValue ( |
Creates a new ErrorInfo which represents a value which should be returned to the user.
|
|
FromValueNoError ( |
Crates a new ErrorInfo which represents a value which should be returned to the user but does not represent an error.
|
Method | Description | |
---|---|---|
ErrorInfo ( |
Private constructor - consumers must use static From* factories to create ErrorInfo objects.
|
public static FromException ( |
||
exceptionValue | ||
return |
public static FromValue ( |
||
resultValue | ||
return |
public static FromValueNoError ( |
||
resultValue | ||
return |