# Class WorkflowDesignerApiException OptimaJet.Workflow.Api.Exceptions.WorkflowDesignerApiException An exception thrown when there is an error in the Workflow Designer API. Namespace: [OptimaJet.Workflow.Api.Exceptions](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Exceptions/) ```csharp public class WorkflowDesignerApiException : InvalidOperationException, ISerializable ``` ## Type Hierarchy - [Exception](https://learn.microsoft.com/dotnet/api/system.exception) - [SystemException](https://learn.microsoft.com/dotnet/api/system.systemexception) - [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) - WorkflowDesignerApiException Current type - Implemented interfaces - [ISerializable](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable) ## Constructors `public WorkflowDesignerApiException(string message)` An exception thrown when there is an error in the Workflow Designer API. ### Parameters | Name | Type | Description | | --- | --- | --- | | `message` | `String` | The error message. | [Previous UnableToFindServiceException](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Exceptions/UnableToFindServiceException/) [Next WorkflowTenantIdNotProvidedException](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Exceptions/WorkflowTenantIdNotProvidedException/)