ValidationResult<TResult,TError>.Error Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the error associated with the validation result.
public TError? Error { get; }
member this.Error : 'Error
Public ReadOnly Property Error As TError
Property Value
The error associated with the validation result.
Remarks
This property is only valid if the result type is not valid.