# Class ProcessSchemeInlineTemplateException OptimaJet.Workflow.Core.Fault.ProcessSchemeInlineTemplateException Represents an exception raised when building a process scheme from an inline template fails. Namespace: [OptimaJet.Workflow.Core.Fault](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/) ```csharp public class ProcessSchemeInlineTemplateException : Exception, ISerializable ``` ## Type Hierarchy - [Exception](https://learn.microsoft.com/dotnet/api/system.exception) - ProcessSchemeInlineTemplateException Current type - Implemented interfaces - [ISerializable](https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable) ## Methods `public static ProcessSchemeInlineTemplateException Create(string schemeCode, List buildErrors, bool forWeb = false)` Creates a [ProcessSchemeInlineTemplateException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/ProcessSchemeInlineTemplateException/) with an optional web-friendly message format. ### Parameters | Name | Type | Description | | --- | --- | --- | | `schemeCode` | `String` | The scheme code being processed. | | `buildErrors` | `List` | The build error messages collected during inline template processing. | | `forWeb` | `Boolean` | A value that indicates whether web formatting should be used for error output. | ### Returns | Type | Description | | --- | --- | | `ProcessSchemeInlineTemplateException` | A configured [ProcessSchemeInlineTemplateException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/ProcessSchemeInlineTemplateException/) instance that includes the supplied error messages. | ## Fields `public List BuildErrors` The list of error messages produced during inline template processing. [Previous ProcessSchemeBuildException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/ProcessSchemeBuildException/) [Next ProcessTenantMismatchException](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Fault/ProcessTenantMismatchException/)