Class WorkflowValidationException
- Namespace
- WorkflowForge.Extensions.Validation
- Assembly
- WorkflowForge.Extensions.Validation.dll
Exception thrown when workflow validation fails.
public sealed class WorkflowValidationException : Exception, ISerializable
- Inheritance
-
WorkflowValidationException
- Implements
- Inherited Members
Constructors
WorkflowValidationException(string, IEnumerable<ValidationError>)
Initializes a new instance of the WorkflowValidationException class.
public WorkflowValidationException(string message, IEnumerable<ValidationError> errors)
Parameters
messagestringThe exception message.
errorsIEnumerable<ValidationError>The validation errors.
WorkflowValidationException(string, Exception, IEnumerable<ValidationError>)
Initializes a new instance of the WorkflowValidationException class.
public WorkflowValidationException(string message, Exception innerException, IEnumerable<ValidationError> errors)
Parameters
messagestringThe exception message.
innerExceptionExceptionThe inner exception.
errorsIEnumerable<ValidationError>The validation errors.
Properties
Errors
Gets the collection of validation errors.
public IReadOnlyList<ValidationError> Errors { get; }