Table of Contents

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

message string

The exception message.

errors IEnumerable<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

message string

The exception message.

innerException Exception

The inner exception.

errors IEnumerable<ValidationError>

The validation errors.

Properties

Errors

Gets the collection of validation errors.

public IReadOnlyList<ValidationError> Errors { get; }

Property Value

IReadOnlyList<ValidationError>