# MethodInvocationException.Error Class

Namespace: [Qlik.Engine](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.htm)  
Assembly: Qlik.Engine.dll

Qlik Sense error

## Inheritance

* System.Object
  * [MethodInvocationException.Error](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.MethodInvocationException.Error.htm)
    * MethodInvocationException.Error

## Syntax

```
public class Error : MethodInvocationException.Error
```

## Constructors

| Name | Description |
| --- | --- |
| [Error(NxLocalizedErrorCode, String, String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.MethodInvocationException.Error.-ctor.htm#Qlik_Engine_MethodInvocationException_Error__ctor_Qlik_Engine_NxLocalizedErrorCode_System_String_System_String_) | Initializes a new instance of the Error class with a specified error code, message and optional parameter. |

## Properties

| Name | Description |
| --- | --- |
| [Code](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.MethodInvocationException.Error.Code.htm#Qlik_Engine_MethodInvocationException_Error_Code) | Error code |