ValidationResult<TResult,TError>.Error Property

Definition

Gets the error associated with the validation result.

public TError? Error { get; }
member this.Error : 'Error
Public ReadOnly Property Error As TError

Property Value

TError

The error associated with the validation result.

Remarks

This property is only valid if the result type is not valid.

Applies to