# Class ExceptionModel OptimaJet.Workflow.Api.Models.ExceptionModel Exception Model. Namespace: [OptimaJet.Workflow.Api.Models](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/) ```csharp public record ExceptionModel : IEquatable ``` ## Type Hierarchy - ExceptionModel Current type - Implemented interfaces - [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1) ## Constructors ### `[JsonConstructor] [JsonConstructor] public ExceptionModel(string type, string message, IDictionary data, string stackTrace)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `type` | `String` | | | `message` | `String` | | | `data` | `IDictionary` | | | `stackTrace` | `String` | | ## Properties ### `public string Type { get; init; }` Gets the type value. ### `public string Message { get; init; }` Gets the message value. ### `public IDictionary Data { get; init; }` Gets the data value. ### `public string StackTrace { get; init; }` Gets the stack trace value. ### `public string? Source { get; init; }` Gets the source value. ### `public string? HelpLink { get; init; }` Gets the help link value. ### `public int HResult { get; init; }` Gets the hresult value. ### `public ExceptionModel? InnerException { get; init; }` Gets the inner exception value. [Previous ErrorCode](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/ErrorCode/) [Next ExecuteCommandRequest](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/ExecuteCommandRequest/)