Skip to content

DeclarativeWorkflowParseException

NexusLabs.Foundry.MicrosoftAgentFramework.Workflows.Declarative

DeclarativeWorkflowParseException Class

Thrown when a declarative workflow document cannot be parsed.

public sealed class DeclarativeWorkflowParseException : System.Exception

Inheritance System.Object 🡒 System.Exception 🡒 DeclarativeWorkflowParseException

Remarks

Upstream reports authoring errors through several exception types originating in the Power Platform object model. They are normalized here so a host can catch one type, and so the parser detail stays available on System.Exception.InnerException without being the thing callers have to match on.

Constructors

DeclarativeWorkflowParseException(Exception) Constructor

public DeclarativeWorkflowParseException(System.Exception innerException);

Parameters

innerException System.Exception

The underlying parse failure.